....
 

Guardian Digital Inc. > InfoCenter > Mailing List Archives > Amavis

Amavis Mailing List Archive

From: Clifton Royston (cliftonr@tikitechnologies.com)
Date: Thu Dec 23 2004 - 14:17:57 EST


On Thu, Dec 23, 2004 at 08:11:27PM +0100, Pavel Urban wrote:
> Clifton Royston wrote:
> >On Thu, Dec 23, 2004 at 07:35:29PM +0100, Pavel Urban wrote:
> >>we're running two instances of amavisd-new with different configuration
> >>files. They are using the same clamav daemon (communicating through TCP
> >>socket - without problem) and the same SA database (problem?). We're
> >>seeing many SA timeouts... I'm adding them to this mail. Is this
> >>configuration ok, or should I change it? If you need more information,
> >>please tell me - I'm pretty new to this business ;-) Thanks!
> >
> > Just off the cuff, it looks like part of it might be DB locking
> >issues, because a number of these are being interrupted in
> >.../Mail/SpamAssassin/BayesStore.pm (though some are elsewhere.) Have
> >you been sure to set your amavisd instances up with separate DB
> >directories both for SA's Bayesian databases?
>
> We have two configuration files for amavisd:
>
> [root@antivir3 root]# grep '^$MYHOME' /etc/amavisd.conf
> /etc/amavisd-out.conf
> /etc/amavisd.conf:$MYHOME = '/var/spool/amavis'; # (default is
> '/var/amavis')
> /etc/amavisd-out.conf:$MYHOME = '/var/spool/amavis-out'; # (default is
> '/var/amavis')
>
> We are using the same SA database, hovewer.
>
> [root@antivir3 root]# head -30 /etc/mail/spamassassin/local.cf
...
> use_bayes 1
> bayes_path /var/spool/amavis/.spamassassin/bayes

I think this probably is the problem here, but I am not sure how you
would get the two different amavisd instances to use a different
local.cf (or different directory in place of /etc/mail/spamassassin/)

Hopefully someone else can advise on that.
  -- Clifton

-- 
          Clifton Royston  --  cliftonr@tikitechnologies.com 
         Tiki Technologies Lead Programmer/Software Architect
Did you ever fly a kite in bed?  Did you ever walk with ten cats on your head?
  Did you ever milk this kind of cow?  Well we can do it.  We know how.
If you never did, you should.  These things are fun, and fun is good.
                                                                 -- Dr. Seuss
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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/


[ About Guardian Digital ] - [ Press Center ] - [ Contact Us ] - [ System Activation ] - [ Reseller Info ] - [ Online Store ] - [ Site Map ]
Copyright (c) 2000 - 2004 Guardian Digital, Inc. Linux Lockbox and EnGarde are Trademarks of Guardian Digital, Inc.