On Fri, 12 Dec 2008, Rocco Scappatura wrote:

Hello,

I have a Postfix+MySQL+Amavisd-new platform.

Time ago I get some hint for avoiding spam scan for a particular sender
an a particular client.

In particular, in /etc/postfix/main.cf I put:

smtpd_restriction_classes = from_policy_bank_senders
from_policy_bank_senders =
   check_sender_access hash:/etc/postfix/policy_bank_senders, permit

Now I would like to avoi spam scanning for a particular recipient.

Is it possible?
check_recipient_access hash:/etc/postfix/policy_x_recipients

http://www.postfix.org/postconf.5.html

check_recipient_access type:table
Search the specified access(5) database for the resolved RCPT TO address, domain, parent domains, or localpart@, and execute the corresponding action.
check_recipient_mx_access type:table
Search the specified access(5) database for the MX hosts for the RCPT TO domain, and execute the corresponding action. Note: a result of "OK" is not allowed for safety reasons. Instead, use DUNNO in order to exclude specific hosts from blacklists. This feature is available in Postfix 2.1 and later.
check_recipient_ns_access type:table
Search the specified access(5) database for the DNS servers for the RCPT TO domain, and execute the corresponding action. Note: a result of "OK" is not allowed for safety reasons. Instead, use DUNNO in order to exclude specific hosts from blacklists. This feature is available in Postfix 2.1 and later.

Reply via email to