On 3/10/2011 7:22 AM, Giovanni Mancuso wrote:
Hi,
I would configure my postfix to control if client ip is in blacklist
only if the mail have a particolar header.
I tried to create a header_checks table and with a FILTER i redirect all
mails that have a particular header to localhost on port 2500
but in this way the client ip is localhost
Anyone have any ideas?
This will never work. Postfix performs dnsbl checks on the
connecting client, not on headers. When postfix does dnsbl
checks, the headers have not been received yet.
Use a milter or smtpd_proxy_filter for complex tests such as
this, maybe in combination with spamassassin.
-- Noel Jones