procmail
[Top] [All Lists]

Help pls!

2001-02-14 06:52:54
hello

I have written a recipe to append a footer to every outgoing mail.
the procmail is invoked through sendmail(8.9).

The footer should be attached to all the mails meant for outside world and not to the intranet mails.(ie within a particular domain eg. abc.net, the footer should not be attached to the mail addressed to xyz(_at_)abc(_dot_)net(_dot_))

I have wriiten a recipe but can't make it work for Cc and Bcc,

The recipe is as follows
:0
* ^FROM.*abc.net
{
       :0
       * !^To.*abc.net
       {
               :0 fbw
               |cat - /etc/procmailrcs/footer.txt

       }
       :0E
       * !^Cc.*abc.net
       {
               :0 fbw
               |cat - /etc/procmailrcs/footer.txt

       }


}
#pass the message back to sendmail
:0
| $SENDMAIL -oi -f "$@"


Pls send help as soon as possible.
Thanks in advance

Shweta Modak
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>