procmail
[Top] [All Lists]

Re: Autoresponder

2003-09-05 07:42:34
Steffen Bisgaard asked,

This might be trivial, but can you confirm that the below script will not keep the mail on the server but delete it once it has sent of an autoreply (except for the *bbs* part) ? SHELL=/bin/sh :0 h c

No, we can confirm the opposite. That `c' flag tells procmail to deliver a copy of the message to the action (if the conditions pass), so it will still have the original of the message to deliver locally, which seems to be exactly what you don't want. If you want the message to disappear if an autoreply is sent, get rid of the `c' flag. If you want the message to stick around if the conditions pass but the action fails, put a `w' where the `c' was.


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