procmail
[Top] [All Lists]

procmail rules and attachment

2001-03-27 20:21:26


Hi, 

while fixing a problem with my mail reader I notice that some of
the rule I use with procmail have undesirable side effects.  For
example, I use the following rule to filter out foreign characters
mails :

:0BD:
* -1^1 .
*  2^1 =[0-9A-F][0-9A-F]
* 20^1 [ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿]
* 20^1 [ÁÃÄÅÆÌÍÐÑÒÓÕÖרÚÜÝÞß]
* 20^1 [áãäåæëìíðñòóõö÷øúüýþÿ]
* 20^1 =[A-F][0-9A-F]
| $FORMAIL -A "X-Sorted: TMFC test" >> $SPAMFOLDER

However this rule will also look at pdf attachment and the end
result will be to ditch them in $SPAMFOLDER which happens to be
/dev/null :(

Is there a way to avoid procmail to look at attachment as part of
the body of the file.  This is not the only rule that this
undesired side effect.

Thanks for any suggestion.

Dominic.






-- 
Dominic Mitchell
_______________________________________________
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>
  • procmail rules and attachment, Dominic Mitchell <=