procmail
[Top] [All Lists]

Deleting Attachments

1998-05-28 23:53:51
The following works fine...autoreplies and then vaporizes
the unwanted mail, EXCEPT if there is an attachment. Is
there a way to include attachments in the vaporization?

Thanks for any assistance.

Eric
====

:0 hc
* !^FROM_DAEMON
* !^X-Loop: eric(_at_)gls\(_dot_)com
* !^TOeric(_at_)gls\(_dot_)com
* ^TO(_dot_)*(_at_)gls\(_dot_)com
{
:0 fh
| formail -r -A"Precedence: junk" \
-I"From: gls.com Mailbounce <mailbummer(_at_)gls\(_dot_)com>" \
-I"Subject: Bummer Mail Address At gls.com" \
-A"X-Loop: nospam(_at_)gls\(_dot_)com" ; cat $HOME/procmail/rtngls.txt

:0
| $SENDMAIL -oi -t
}

:0 c:
* !^TOeric(_at_)gls\(_dot_)com
* ^TO(_dot_)*(_at_)gls\(_dot_)com
| formail -rtzxTo: >> $HOME/procmail/rtngls.log

:0 a:
/dev/null


<Prev in Thread] Current Thread [Next in Thread>
  • Deleting Attachments, Eric Hilding <=