On Nov 15, 2008, at 1:36 PM, Noel Jones wrote:
Jason Wohlford wrote:
Is there any way to perform an address verification on a message
and then add a header to the message? I'd like to let postfix do
address verification and then report the result to spamassassin.
Suggestions?
Cheers,
Jason
Postfix doesn't have a mechanism to record the results of the
address probe in the received message.
Your best alternative may be a sender verification add-on for
SpamAssassin; google around for that. Sometimes also called sender
call back.
Or you could use a postfix policy service with this feature - but
you might have to write your own or modify an existing one.
I see it is possible to set the unverified_recipient_reject_code to
250. Does this mean postfix will do address verification and then let
the original message pass?
http://www.postfix.org/postconf.5.html#unverified_recipient_reject_code
My end goal is to let postfix handle the address verification, while
another process handles the rejection. A spamassassin plugin (or
another bit of software) could query the address_verify_map (or mail
logs) and then act accordingly.
Comments?
--
Jason Wohlford
<[EMAIL PROTECTED]>
<http://wohlford.org>