On 1/1/2012 11:19 PM, Roman Gelfand wrote:
> I am using the following directive for filtering. The mail goes
> through 2 grey listing filters, bl lookup using policy_daemon, dkim,
> spf, dspam, etc... I don't want to start adding a whitelist entry to
> every filter.
>
> smtpd_recipient_restrictions =
> permit_mynetworks,
> reject_unauth_destination,
check_sender_access hash:/etc/postfix/whitelist
> check_recipient_access pcre:/etc/postfix/dspam_check_aliases,
> check_sender_access pcre:/etc/postfix/dspam_check_aliases,
> check_policy_service inet:127.0.0.1:2501,
> check_policy_service inet:127.0.0.1:5525,
> reject_unlisted_recipient,
> check_policy_service inet:127.0.0.1:12525
/etc/postfix/whitelist
example.com permit_auth_destination
[email protected] permit_auth_destination
After creating or modifying /etc/postfix/whitelist do
$ postmap whitelist
See: man 5 access
--
Stan