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
total 28
-rw-r----- 1 amavis amavis     0 Mar  3 09:54 amavisd.lock
-rw-r--r-- 1 root   root   14614 Mar  7 13:15 amavisd.sa-debug
srwxr-x--- 1 amavis amavis     0 May 19 10:07 amavisd.sock
drwxr-x--- 2 amavis amavis  4096 May 19 10:07 db
drwxr-x--- 5 amavis amavis  4096 May 22 04:02 tmp
drwxr-x--- 3 amavis amavis  4096 May 19 10:07 var
[root amavis]# ls -l tmp
total 12
drwxr-x--- 3 amavis amavis 4096 May 20 04:02 amavis-20080520T040205-03734
drwxr-x--- 3 amavis amavis 4096 May 21 04:02 amavis-20080521T040204-03735
drwxr-x--- 3 amavis amavis 4096 May 22 04:02 amavis-20080522T040205-03737
[root amavis]# ls -l var
total 4
-rw-r----- 1 amavis amavis 0 May 19 10:07 amavisd.lock
-rw-r----- 1 amavis amavis 5 May 19 10:07 amavisd.pid
[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?

thanks
S

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