Hello,

In postfix, how do I reject e-mails with attachments that have filename
extensions "scr" and "pif"?

I tried putting this in /etc/postfix/header_checks, 
/^Content.*\.scr/  REJECT
/^Content.*\.pif/  REJECT

and also:
/.*attachment .*\.pif/  REJECT
/.*attachment .*\.scr/  REJECT

but it doesn't reject the e-mail. Should I use procmail instead when it
comes to attachments?

TIA

ps: my butt is numb from spending 5hrs total driving back and forth. ;->
next time can we meet in the middle?
-- 
Juan Miguel Cacho       [EMAIL PROTECTED] ®
Philippines             [EMAIL PROTECTED] 
...the poor count their blessings, the affluent count their calories.
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to