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]
- [plug] Stopping thw WORM: postfix header ... Ian C . Sison
- Re: [plug] Stopping thw WORM: postfi... Barny Chiw
- Re: [plug] Stopping thw WORM: postfi... Jeffrey W. Wong
- Re: [plug] Stopping thw WORM: postfi... Barny Chiw
- Re: [plug] Stopping thw WORM: po... Ian C . Sison
- Re: [plug] Stopping thw WORM: postfi... Vallen C. Aureio
- Re: [plug] Stopping thw WORM: po... Juan Miguel Cacho
- Re: [plug] Stopping thw WORM: po... Jeffrey W. Wong
- [plug] Tracing the virus-mak... Omar List
- Re: [plug] Tracing the v... Ian C . Sison
- Re: [plug] Tracing ... Michael Vincent K. Pozon - CompE
- RE: [plug] Stopping thw WORM: postfi... Ronneil Camara
- RE: [plug] Stopping thw WORM: postfi... efren
- [plug] Digest Super Perez
