procmail
[Top] [All Lists]

Re: procmail: Error while writing to formail

2006-03-16 18:57:46



From: "Ruud H.G. van Tol" <rvtol(_at_)isolution(_dot_)nl>

[...] Let me discuss your recipe now:


 :0 c
 * (^From.*domain.com)

No need for the surrounding (). You should escape the dot.

   * ^From.*domain\.com

I think I need to use () for the following case
* (^From.*domain1\.com|^From.*domain2\.com) ?


 {
     :0 Afhw

Why the A-flag? Just remove it.

You are right. Thanks.



     | /usr/bin/formail -I "Content-Type: text/plain;"

I would force a Content-Tranfer-Encoding too, like:

      | /usr/bin/formail -I"Content-Type: text/plain;
charset=iso-8859-1"\
                         -I"Content-Transfer-Encoding: 8BIT"




     :0 c

Why another c-flag? An undelivered copy will fall through.

I think the first :0 should remove "c".

Thanks so much for help and the way to do quote.

Tom



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail