|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Better way to match headers
From: Joey (Joey
Web56.Net)
Date: Mon Jan 02 2006 - 14:11:40 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Currently I am matching in header_checks things like this:
header_checks = regexp:/etc/postfix/header_checks
File contains things like this:
/^(To|From|Cc|Reply-To):.*emailoffernetwork\.com/ REJECT Header TFCR 1060
/^(To|From|Cc|Reply-To):.*ideasforthegoodlife\.com/ REJECT Header TFCR 1061
/^Subject:.*Weight Loss Pills/ REJECT SubJect Rejected
/^Subject:.*STOP SNORING IMMEDIATELY/ REJECT SubJect Rejected
Is there a better place for me to do this in order to match the values more
frequently and bounce the message?
I do have some cases where I use client_access like this:
check_client_access hash:/etc/postfix/client_access
In file I have:
dailyinbox.com 550 SPammer-Error50
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]