procmail
[Top] [All Lists]

Re: Problem with auto-reponse

2003-01-29 10:02:33
On Wednesday, January 29, 2003, at 08:55 AM, Laurent Balloy wrote:
:0 HBhb
* ^Content-Type:.*
*
^*filename=.*\.(pif|vbs|reg|scr|bat|com|exe|clp|dll|pwl|dot|hta|lnk|js| sys|d
rv|bin|ovl|aut|bak|pl|cgi).*

That's not a valid condition, I don't think.  Conditions start with *

Try this:

VERBOSE=ON
:0
* ^Content-Type:
* !^X-Loop:.*$MOI
* B ?? filename=.*(pif|vbs|reg|scr|bat|com|exe|clp|dll|pwl|dot|hta|lnk|js|sys|d
rv|bin|ovl|aut|bak|pl|cgi)
| (formail -rk; /bin/cat /var/procmail/attachement) | $SENDMAIL -t -oi

And look at your log file.

However, I don't think your conditions are robust enough. Still, it'll get your started.

--
Do not meddle in the affairs of wizards for they are subtle and quick to anger.


_______________________________________________
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>