Re: [AMaViS-user] Keep processing messages when quarantine database

This is a discussion on Re: [AMaViS-user] Keep processing messages when quarantine database within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Roy, > I would like to know if there is a way to bypass @storage_sql_dsn > when the database is ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-01-2007
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] Keep processing messages when quarantine database

Roy,

> I would like to know if there is a way to bypass @storage_sql_dsn
> when the database is offline, maybe a fallback storage method?


The @storage_sql_dsn is a list of alternate storage methods.
Entries that are not working are skipped, the one that does work
is used (even if previous entries are repaired meanwhile).
When a working entry fails, the search for a good entry
continues, in a round-robin fashion. If all entries fail,
mail processing tempfails, to be retried by MTA later.

> The long story is that our quarantine database is on our primary
> mail relay, and the secondary mail relay is using this quarantine
> database (on the primary). When the primary is down (and its
> MySQL database is unavailable) the secondary mail server
> bounces messages.


It shouldn't bounce the message, it is supposed to return
a temporary failure to MTA, mail stays in the queue.

> What is the right way to configure amavisd to keep processing messages
> even though its quarantine database is not available?


Provide additional entries in @storage_sql_dsn for emergency needs.
Perhaps add a local SQL database, and you may discard later
whatever accumulates there if stored data is not important.
An entry can not be a dummy/empty entry: if storage to SQL
is specified, then data must end up in some storage, or mail tempfails.

> Is there a way to configure amavisd to temporarly quarantine using
> local files, or similar?


Currently it is not possible to fallback from SQL to some file-based
storage method, it is only possible to fallback to some other SQL database.

Mark

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:30 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0