Paolo wrote:

> Hi,
> I think the following quarantining method is not supported right-away, 
> but it requires policy banks:

@domain1 =>> quarantine to SQL DB_ONE
@domain2 =>> quarantine to SQL DB_TWO
@domain3 =>> plus-addressing
default  =>> quarantine to file

> @storage_sql_dsn is used, but @lookup_sql_dsn is undefined (using LDAP 
> instead).

> I browsed through the docs and *_quarantine_method are scalar, while 
> *_quarantine_to_maps do not allow so much flexibility.

> So, do I need to dig into policy banks?

> TIA,
> Paolo

Looking at amavisd.conf-default, I see that
%quarantine_method_by_ccat and %quarantine_to_maps_by_ccat are policy
bank members so I think it's possible to redefine how mail is
quarantined using a policy bank, but it appears if using SQL,
@storage_sql_dsn is not a member, so you could not have it quarantine
to more than one database (which is your goal).

$recipient_delimiter is also a policy bank member, so it might be
possible to use a recipient delimiter (along with other required
changes) for one domain and not another, but this interacts with
the same setting in Postfix, so would require some experimentation
to insure it works as expected.

Policy banks are controlled by the client or the sender and not the
recipient, so in order to separate out recipient domains may possibly
require something like this example:
http://www200.pair.com/mecham/spam/bypassing.html#3
where IP addresses are added to the interface, and MX records are
changed to direct mail to the different addresses.

Mark,
I'm not sure what the syntax would look like if one should want to
redefine quarantine_method and quarantine_to in a policy bank.

Gary V


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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