Gary V wrote:
Your best bet is to use the policy bank MYNETS

http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks
http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks-ex
http://marc.theaimsgroup.com/?l=amavis-user&m=113415019700881&w=2

There are also examples in amavisd.conf-sample.

Gary, thank you very much for your quick response. I was looking for some guidance and have it working fine now. For the record and future searches on the issue here is what I did.

in /etc/amavisd.conf:

$inet_socket_port = [10024, 10026];

$interface_policy{'10026'} = 'INTERNAL';

$policy_bank{'INTERNAL'} = {
  bypass_spam_checks_maps   => [1],
  bypass_banned_checks_maps => [1],
  final_spam_destiny   => D_PASS,
  final_banned_destiny => D_PASS,
};


in /etc/postfix/main.cf:

smtpd_recipient_restrictions = check_client_access hash:/etc/postfix/amavis_internal,
permit_mynetworks,
reject_unauth_destination


in /etc/postfix/amavis_internal:

192.168.10.100 FILTER smtp-amavis:[127.0.0.1]:10026


Thank you again for your help, I appreciate it.

///Jason


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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/

Reply via email to