procmail
[Top] [All Lists]

Re: Filtering MS-Office Attachments

2009-07-08 14:12:28
On Wed, July 8, 2009 11:52 am, Thomas Göbel wrote:
[snip]
I am using this code for filter MS-Office attachment and to send an
automatic reply mail. Today i noticed that this recipe also matches on
PDF-Documents? Any idea why? The recipe is OK if all four "*" lines are
fullfilled, isnt it? So, if there is an attachment named name=file.pdf
it should not match this line? But it does!

Actually, by using this type of scoring for the recipe you are saying if
*any* of the 3 conditions with the score match then proceed to the action
line.

If you want all 4 conditions to be met before declaring an MS-Office
attachment was received then take out the "2147483647^0" from the
conditions.

Rich

____________________________________________________________
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