List Info

Thread: Re: Amavis::Cache




Re: Amavis::Cache
country flaguser name
United States
2008-02-20 06:34:37
Robert LeBlanc <rjl...> writes:

> 
> 
> David Smalley wrote:
> |> David Smalley wrote:
> |> |
> |> |> Starting Mail Virus Scanner (amavisd):
Problem in the Amavis::Cache
> |> |> code:  at /usr/sbin/amavisd line 10616.
> |> |>                                            
              [FAILED]
> |> |>
> |> |
> |> | I managed to clear this error message by
delving into amavisd.conf and
> |> | commenting out
> |> | "#$enable_db = 1;"
> |> |
> |> | Now, however, I get the following error
message, so looks like its
> |> | another edit that needs to be made to sort this
out:
> |> |
> |> | Starting Mail Virus Scanner (amavisd): Problem
in the Lookup::SQL code:
> |> | at /usr/sbin/amavisd line 10621.
> |> |                                                
          [FAILED]
> |> |
> |> | So, what have I done wrong/need to do?
> |>
> |> You need to either:
> |>
> |> (a) Install the BerkeleyDB Perl module, or
> |>
> |> (b) Set "$enable_db = 0;" in
amavisd.conf to tell amavisd not to use the
> |> BerkeleyDB cache.
> |>
> |> You don't /need/ the BerkeleyDB cache; it's a new
feature in amavisd-new
> |> 2.x, designed to cache information about
recently-processed mail, in the
> |> hope of speeding up processing for large batches
of identical mail (e.g.
> |> bulk mailing list postings that get split into
many identical batches of
> |> 50 recipients).
> |
> |
> | Okay, I've disabled that and the error message has
gone. But now I am
> | getting a message telling me there is a problem with
the Lookup::SQL
> | code, and if I go to comment out the " lookup_sql_dsn =" bit of
> | amavisd.conf it comes up with a different error
message about a problem
> | with the "In::SMTP" code.
> 
> Well, you certainly don't want to comment out the lookup_sql_dsn, since
> that's how amavisd connects to your SQL database.  More
than likely
> something is misconfigured in your amavisd.conf file. 
If you e-mail me
> your amavisd.conf file (with passwords obscured,
obviously) I'll take a
> look at it and see if I can spot anything.
> 
> --
> Robert LeBlanc <rjl...>
> Renaissoft, Inc.
> Maia Mailguard <http://www.maiamail
guard.com/>
> 
> 
I, too, have run into this problem, and at 4 in the morning
could use an extra 
set of eyes if anyone has a few moments...  I have checked
my install of 
BerkeleyDB (and updated it) and have tried disableing Amavis
using the DB 
cache.  My error messages are a little bit different:

with $enable_db = 1;  and $enable_global_cache = 1;    
I get: "Problem in the Amavis::Cache code:  at
/usr/local/sbin/amavisd line 
10918.  Feb 20 04:11:31 hostname.domain.tld [17628]: at the
END handler: 
invoking DESTROY methods"

when I set $enable_db = 0 to disable it... I get:
Problem in the Lookup::SQL code:  at /usr/local/sbin/amavisd
line 10923.
Feb 20 04:09:41 hostname.domain.tld [17411]: at the END
handler: invoking 
DESTROY methods

I've fallen back over the last hours to a vanilla (read
maia.distro) 
amavisd.conf. And am using nothing from the original
install.  Oh, and yes, 
there is a link from amavisd to amavisd-maia.

Any ideas at this point would be cheerily (although
sleepily) welcomed!  

Thanks,
Tom Booth
eSURE, Inc.


_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )