procmail
[Top] [All Lists]

RE: new recipe filter...

2008-07-26 14:39:20
Professional Software Engineering wrote:
The following would actually set the header 
and deliver it:

:0
* > 2048000
{
         :0f
         | ${FORMAIL} -A"X-Note: Oversize/Not Filtered"

         :0:
         $DEFAULT
}

I would add the w flag to the recipe with the filter.
It's conceivable that really long headers (such as the ones
on messages to this list) might close the pipe early otherwise.

dman

____________________________________________________________
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

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