Shelley,

> I have a simple question.  I have a master server for
> postfix/amavisd/spamassassin/clamd/cyrus-imapd and I am setting up a
> replication server which will function in event of failure of master.
>
> I ma replicating my services for ldap, postfix,cyrus ... ans well as
> amavisd. Amavisd has a /var/amavis directory which looks like ...
>
> [root amavis]# ls -l db
> total 428
> -rw-r----- 1 amavis amavis  12288 May 21 04:02 cache.db
> -rw-r----- 1 amavis amavis   4096 May 19 10:07 cache-expiry.db
> -rw-r----- 1 amavis amavis  24576 May 19 10:07 __db.001
> -rw-r----- 1 amavis amavis 278528 May 19 10:07 __db.002
> -rw-r----- 1 amavis amavis 450560 May 19 10:07 __db.003
> -rw-r----- 1 amavis amavis  12288 May 19 10:07 nanny.db
> -rw-r----- 1 amavis amavis  12288 May 19 10:07 snmp.db
>
> The question is, is there anything in this directory I need to rsync
> regularly, or do I just need to duplicate the /etc/amavisd.conf and start
> it up?  What if anything is in the db?

The /var/amavis/db need not be backed up, everything there is
re-created from scratch on amavisd startup. It can be empty
or there may be old database files there, it does not matter.

Same for tmp/, var/, pid and lock files and a socket.
All you need is a directory structure (db, tmp, var).

There may be one exception to that, depending on your
$helpers_home setting. This is where SpamAssassin puts its
.spamassassin directory and .razor, .pyzor directories
if these plugins are enabled. You may want to back
the razor and pyzor config file and server discovery files,
and if using file-based Bayes and AWL databases (in .spamassassin)
you may want to back these too once in a while.
But better to use SQL for Bayes and AWL databases instead.

  Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
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