I was not able to make the filter work as-is, I have to edit main.cf:
  
  header_checks = regexp:/etc/postfix/header_checks
                  ^^^^^^^

But with this, I was only able to make the first entry work, not the second.
I tested it by attaching a text file named: "LOVE-LETTER-FOR-YOU.TXT.vbs"
but it is still being accepted by Postfix.

"Ian C.Sison" wrote:
> 
> enable header_checks in main.cf:
> header_checks = /etc/postfix/header_checks
> 
> in /etc/postfix/header_checks:
> /^Subject: ILOVEYOU/ REJECT
> /Content.*LOVE-LETTER-FOR-YOU.TXT.vbs/ REJECT

-
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