Gary wrote:
> In main.cf:
> smtpd_recipient_restrictions =
> permit_mynetworks,
> reject_unauth_destination,
> <...>
> check_recipient_access hash:/etc/postfix/bypass_banned
> The contents of the /etc/postfix/bypass_banned file could be:
> [EMAIL PROTECTED] FILTER smtp-amavis:[127.0.0.1]:10026
> [EMAIL PROTECTED] FILTER smtp-amavis:[127.0.0.1]:10026
> [EMAIL PROTECTED] FILTER smtp-amavis:[127.0.0.1]:10026
> <...>
This can be simplified by using a regexp map.
check_recipient_access regexp:/etc/postfix/bypass_banned
The contents of the /etc/postfix/bypass_banned file could be:
/^(.*)@friends\.com$/ FILTER smtp-amavis:[127.0.0.1]:10026
Gary V
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/