> -----Original Message-----
> From: Vinogratzky [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 21, 2008 10:09 AM
> 
> Hi,
> 
> I want to do a heartbeat/HA of amavis.
> 
> -) Does the /var/lib/amavis/db contain all the information
>  for the spam/ham mails?

If you mean the Bayes database, probably it is better to use "sa-lean
--backup" and "sa-learn --clear" + "sa-learn --restore" in order to make a
snapshot of its content to the standby server.

You have to run "sa-learn" with the user actually running the amavisd
service: the Bayes database is often per-user.


> -) Can there be any concistency if I just copy it, or do I have
>  to shut amavis-new down?

Yes it is. In most installations it is a Berkley DB, thereby you need to
stop any process opening it, or use "sa-learn".

Alternatively, you may move to a SQL-based Bayes db, assuming you already
have a clustered/failsafe SQL service.

Since we are speaking about the Bayes DB, which is a component of
SpamAssassin, it is probably better to address further questions about this
to the [EMAIL PROTECTED] list instead of this one: here they are
a bit OT...

Regards,

Giampaolo


> 
> Thanks,
> Chris
> 
> -----------------------------------------------------------------------
> --
> 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/


-------------------------------------------------------------------------
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/ 

Reply via email to