procmail
[Top] [All Lists]

Reject *.exe attachments

1999-09-28 10:52:21
I'm using a RH5.2/sendmail/procmail system.

For emails with .exe attachments, I would like to:

1. Stop it from getting the the intended recipient, maybe alert the intended
recipient that he email intended for him was blocked.

2. redirect the entire email to xxx(_at_)yyy(_dot_)com (me).

3. Auto-reply to the sender a standard message stating why we do not allow
exe attachments.

From what I gather, this is a procmail thing.
I'm thinking about the following - (my first recipe).

in /etc/procmailrc

:0bc
* application-type*\.exe
| ***howto send to original recipient a message***

:0bc
* application-type*\.exe
| xxx(_at_)yyy(_dot_)com

:0bc
* application-type*\.exe
| ***how to send to original sender a stock rejection message







<Prev in Thread] Current Thread [Next in Thread>