>
> Is there any way in such a situation to make amavisd-new queue any spam
> for later delivery to the quarantine once the database comes back up?
Amavisd would... It would send a 4xx error to the sender (in this case,
maybe the local pre-queue postfix instance).
If your DB is down, you would see lots of email in the mailq.. Waiting for
the DB to come back online. 'spam' would not be delivered until the DB
comes back online, and 'postfix' requeues the email.
(why not use mysql replication in a master/master setup, use two DBI lines
in amavisd.conf:
@storage_sql_dsn =
( ['DBI:mysql:dbname=mail;host=localhost', 'amavis', ''],
['DBI:mysql:dbname=mail;host=secondary', 'amavis', '']
);
--
Michael Scheidell, CTO
>|SECNAP Network Security
Winner 2008 Network Products Guide Hot Companies
FreeBSD SpamAssassin Ports maintainer
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/