Actually, the directory is set to vscan as it should be(amavis runs as that) and that user has rw privs. If you notice below, the pid of the processes is different between the area where content-type is mentioned and the bdb is referenced. For some reason there is a very brutal crash before any real checks are run.
I've rebuilt amavis and all dependencies using portmanager with no change. Any other thoughts or methods of debugging. One of the emails causing this was sent by a friend, so not even malicious, just causing a crash. Chuck Swiger wrote: > Hi-- > > On Sep 10, 2009, at 4:23 PM, Eric Sheesley wrote: >> Sep 10 19:00:08 rogue amavis[77712]: (77712-01) ESMTP::10024 >> /var/amavis/tmp/amavis-20090910T190007-77712: <froma...@fromaddr.com> -> >> <mya...@shadowlair.com> SIZE=7072 BODY=7BIT Received: from >> rogue.shadowlair.com ([127.0.0.1]) by localhost (rogue.shadowlair.com >> [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for >> <eshee...@shadowlair.com>; Thu, 10 Sep 2009 19:00:07 -0400 (EDT) >> Sep 10 19:00:08 rogue amavis[77712]: (77712-01) Checking: SukXX+6vDV2U >> [65.55.88.13] <froma...@fromaddr.com> -> <mya...@shadowlair.com> >> Sep 10 19:00:08 rogue amavis[77712]: (77712-01) p001 1 Content-Type: >> text/plain, size: 3607 B, name: >> Sep 10 19:00:08 rogue postfix/smtpd[77645]: warning: lost connection >> with proxy 127.0.0.1:10024 >> Sep 10 19:00:08 rogue amavis[78041]: TIMING [total 5 ms] - bdb-open: 5 >> (100%)100, rundown: 0 (0%)100 > > It sounds like amavisd can't open a BerkeleyDB database (probably the > nanny/cache/snmp stuff). Make sure that /var/amavis/db exists and is > writable by the amavisd or vscan user, whatever you are running amavisd as: > > # ls -l /var/amavis/db > total 556 > -rw-r----- 1 vscan vscan 24576 Sep 9 19:01 __db.001 > -rw-r----- 1 vscan vscan 131072 Sep 9 18:44 __db.002 > -rw-r----- 1 vscan vscan 270336 Sep 10 11:43 __db.003 > -rw-r----- 1 vscan vscan 360448 Sep 9 18:44 __db.004 > -rw-r----- 1 vscan vscan 4096 Sep 9 14:20 cache-expiry.db > -rw-r----- 1 vscan vscan 90112 Sep 10 14:01 cache.db > -rw-r----- 1 vscan vscan 12288 Sep 9 14:20 nanny.db > -rw-r----- 1 vscan vscan 12288 Sep 9 14:20 snmp.db > > Regards, _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"