Adam,
> I am still a little fuzzy on the policy banks implementation details
> myself. Does anyone know if a client is from MYNETS and does SMTP_AUTH
> which one would amavisd use or would both apply if you have settings for
> both banks? If they both apply then what order would they be processed
> to know which takes priority?
Both apply. Actually, all policy banks that qualify are loaded
one after another, overwriting any field with a new value if
that field is explicitly present in a later policy bank.
RELEASE_NOTES:
- extended AM.PDP protocol with an attribute 'policy_bank' which may be used
in a client's request to require loading additional policy banks, e.g.:
policy_bank=TLS,ORIGINATING,MYNETS
Its value is a comma-separated list of policy bank names. Names of
nonexistent banks are silently ignored, so are leading and trailing spaces
and TABs around each name. The order of policy bank loading generally
follows the order in which information about a message were obtained:
- interface- or socket-based policy banks (when MTA connects to amavisd);
- MYNETS (when client's IP address becomes known);
- the list of policy bank names as specified in a
'policy_bank' attribute of AM.PDP protocol, comma-separated;
- MYUSERS (when sender's e-mail address becomes known);
Mark
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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/