You need the latest snapshot of postfix, which can do body_checks as well
as header_checks.

\8)

On Sun, 25 Feb 2001, Juan Miguel Cacho wrote:

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

_
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