Patrick,

> have you ever considered adding a failover or fallback mechanism for
> $archive_quarantine_method?
> 
> I use amavis with Postfix smtpd_proxy_filter and my Postfix instance comes
> to an instant halt, if the smtp target defined in
> $archive_quarantine_method becomes unavailable.

It may need some cleaning, but with 2.7.0-pre12 you may provide a
failover server for any *_method which uses an smtp or lmtp protocol.
A limitation is that all alternatives must use the same protocol
(e.g. you can't mix a 'local:' with 'smtp:' in the same list).

For example:

  $archive_quarantine_method =
    [ 'smtp:[::1]:20025', 'smtp:[10.0.0.10]:10025' ];

  @archive_quarantine_to_maps = ( 'quarant...@example.com' );


> Could amavis have a configurable option to "reject", "tempfail" or "pass" a
> connect if a smtp target for $archive_quarantine_method becomes
> unavailable?

I'm not inclined to such solution. Either you need an archive, in which case
it is best for the mail flow to halt during times when a service can't be
ensured. If you don't need an archive, then don't request one.
An alternative may be to use always_bcc or its brothers at the MTA level.

  Mark

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to