Ralf,

> is it possible with amavis to load different policy banks,
> depend on recipient-domains?
> Example:
> if a mail arrives for user
> [email protected]
> amavis loads the policy bank for reject.
> If a mail arrives for
> [email protected]
> amavis loads the policy bank for taganddeliver.

No. Policy banks affect a message as a whole and should
only be chosen based on some common property of a message,
e.g. a clients IP address, authentication, sender, size, ...,
but not on some per-recipient property, because message
may have multiple recipients.

For per-recipient settings use @*_maps lookups, which can
properly deal with by-recipient settings even in multi-recipient
messages.

To select between reject(bounce,discard) and tag-and-deliver,
use either @spam_lovers_maps or use per-recipient kill levels
through @spam_kill_level_maps.

  Mark

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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