Personally, I'd keep it simple and just make the specified filename be
a folder in my ~/mail, but you could pipe it into a mail command.
man procmailrc
...for details of other keen things you can do.
-d
Kyle Hargraves wrote:
:
:
:On Sat, 6 May 2000, David Talkington wrote:
:
:>
:> If your goal is to affect mail to all users on the system, then yes,
:> that's where y'd park it.
:>
:
: thanks for clarifying this for me (and others)
:
: How should the script be modified so as to redirect the
: email to a user called be-careful so the email could be
: checked out ?
:
:cheers, Kyle Hargraves
:
:
:======================================================
:
:> Kyle Hargraves wrote:
:>
:> : I PRESUME that this would be placed in /etc/procmailrc ? ?
:> :
:>
:>
:> :On Fri, 5 May 2000, David Talkington wrote:
:> :
:> :>
:> :> We did something similar (but incorporated your sed idea after reading
:> :> your post;
:> :
:> :> :0
:> :> * ^Content-Type: multipart/mixed;
:> :> * B ?? \\.vbs
:> :> {
:> :> :0 c:
:> :> /var/mail/attachments.vbs
:> :>
:> :> :0 h f
:> :> | /bin/sed -e 's/^Subject:/Subject: [PRAIRIENET SYSTEMS
:> :> ALERT: MAY CONTAIN A VIRUS ATTACHMENT]/'
:> :> }
:> :
:>
:>
:> --
:> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
:> as the Subject.
:>
:
:
:
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.