Sendmail/p5-Mail-ClamAV upgrade issue

Jeffrey Williams jeff at sailorfej.net
Fri Mar 24 20:40:20 UTC 2006


Hi Folks,

Bit of an emergency here, last night I was doing a blanket upgrade, to 
cover the sendmail vulnerability, and upgrade spamassassin and clamav.

I cvsuped against RELENG_6_0, rebuilt world and kernel, and installed

rebooted, so far so good, everything works

did my usual portupgrade routine: portsdb -uU && pkgdb -F

no errors, did portupgrade -arR, some perl modules failed causing it to 
skip spamassassin, and clamav, Perl5.8.8 was successful.

I ran perl-after-upgrade script, and manually "make deinstall" and "make 
reinstall" the failed perl modules, and reran portupgrade, this all 
ports upgraded successfully.

rebooted, as you can see from the log, everything started without error:

<** begin startup maillog **>

  Mar 24 03:13:48 mail sm-mta[402]: starting daemon (8.13.4):
SMTP+queueing at 00:30:00
Mar 24 03:13:48 mail sm-msp-queue[406]: starting daemon (8.13.4):
queueing at 00:30:00
Mar 24 03:13:50 mail clamd[436]: Daemon started.
Mar 24 03:13:50 mail clamd[436]: clamd daemon 0.88 (OS: freebsd6.0,
ARCH: i386, CPU: i386)
Mar 24 03:13:50 mail clamd[436]: Log file size limited to 1048576
bytes.
Mar 24 03:13:50 mail clamd[436]: Running as user clamav (UID 106, GID
106)
Mar 24 03:13:50 mail clamd[436]: Reading databases from /var/db/clamav
Mar 24 03:13:53 mail clamd[436]: Protecting against 47129 viruses.
Mar 24 03:13:53 mail clamd[437]: Unix socket file /var/run/clamav/clamd
Mar 24 03:13:53 mail clamd[437]: Setting connection queue length to 15
Mar 24 03:13:53 mail clamd[437]: Archive: Archived file size limit set
to 10485760 bytes.
Mar 24 03:13:53 mail clamd[437]: Archive: Recursion level limit set to
8.
Mar 24 03:13:53 mail clamd[437]: Archive: Files limit set to 1000.
Mar 24 03:13:53 mail clamd[437]: Archive: Compression ratio limit set
to 250.
Mar 24 03:13:53 mail clamd[437]: Archive support enabled.
Mar 24 03:13:53 mail clamd[437]: Archive: RAR support disabled.
Mar 24 03:13:53 mail clamd[437]: Portable Executable support enabled.
Mar 24 03:13:53 mail clamd[437]: Mail files support enabled.
Mar 24 03:13:53 mail clamd[437]: OLE2 support enabled.
Mar 24 03:13:53 mail clamd[437]: HTML support enabled.
Mar 24 03:13:53 mail clamd[437]: Self checking every 1800 seconds.
Mar 24 03:13:53 mail freshclam[443]: Daemon started.
Mar 24 03:13:53 mail freshclam[444]: freshclam daemon 0.88 (OS:
freebsd6.0, ARCH: i386, CPU: i386)
Mar 24 03:13:53 mail freshclam[444]: ClamAV update process started at
Fri Mar 24 03:13:53 2006
Mar 24 03:13:53 mail freshclam[444]: main.cvd is up to date (version:
36, sigs: 44686, f-level: 7, builder: tkojm)
Mar 24 03:13:53 mail freshclam[444]: daily.cvd is up to date (version:
1355, sigs: 2443, f-level: 7, builder: sven)
Mar 24 03:13:53 mail freshclam[444]:
--------------------------------------
Mar 24 03:13:57 mail spamd[456]: logger: removing stderr method
Mar 24 03:13:58 mail spamass-milter[480]: spamass-milter 0.3.0 starting
Mar 24 03:13:59 mail sm-mta[402]: restarting /usr/sbin/sendmail due to
signal
Mar 24 03:13:59 mail sm-mta[485]: starting daemon (8.13.4):
SMTP+queueing at 00:30:00
Mar 24 03:14:01 mail spamd[460]: spamd: server started on port 783/tcp
(running version 3.1.1)
Mar 24 03:14:01 mail spamd[460]: spamd: server pid: 460
Mar 24 03:14:01 mail spamd[460]: spamd: server successfully spawned
child process, pid 527
Mar 24 03:14:02 mail spamd[460]: spamd: server successfully spawned
child process, pid 528
Mar 24 03:14:02 mail spamd[460]: prefork: child states: IS
Mar 24 03:14:02 mail spamd[460]: prefork: child states: II

<** end startup maillog **>

However when mail was submitted for delivery either by a mail client or 
from another mail server the connection would fail, and the following 
errors would appear in the maillog

<** begin error  maillog **>

Mar 24 03:15:11 mail sm-mta[539]: k2OBFBRQ000539: SYSERR(root): out of
memory: Cannot allocate memory
Mar 24 03:15:11 mail spamass-milter[480]: NULL context in mlfi_close!
Should not happen!

<** end error maillog **>

I first tried disabling spamassassin, this did not solve the problem, so 
I reenabled spamassassin, and disabled clamav, and now the mta will 
function and receive and send mail.  but when I try and reenable clamav, 
it stops working, and the same error messages appear.  Anything anyone 
can do to help would be much appreciated, I don't like running my mail 
server without clamav enabled.

Thanks
Jeffrey Williams


More information about the freebsd-ports mailing list