[Mimedefang] MD 2.30 and SA 2.50 problems.

Paul freebsd at pksnet.com
Sat Mar 8 07:50:01 EST 2003


System: FreeBSD 4.7, Perl 5.8, MIMEdefang 2.30 and SpamAssassin 2.50

MD now runs fine, but when adding SpamAssassin to the equation, MD dies. The setup worked as I got in one email which was spam and got reported as such. 

Maillog:

Shortly after install, I got the below error. So I copied /etc/mail/spamassassin.cf to /usr/local/etc/mimedefang/spamassassin.cf. Judging from the below succesful intercept that solved this issue

Mar  7 22:00:16 dax mimedefang-multiplexor: Slave 0 stderr: Failed to create def
ault user preference file /usr/local/etc/mimedefang/spamassassin.cf

Here's the successfully identified and reported spam

Mar  7 22:06:41 dax sendmail[16121]: h2836UKU016121: from=<GlobeLife at A1OFFERSTOY
OU.NET>, size=12166, class=0, nrcpts=1, msgid=<200303080306.h2836UKU016121 at dax.p
ksnet.com>, bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=host.millionoffers
com [209.236.20.133] (may be forged)
Mar  7 22:06:45 dax mimedefang.pl[16051]: MDLOG,h2836UKU016121,spam,11.5,209.236
20.133,<globelife at a1offerstoyou.net>,<someuser at pksnet.com>,Your Most Important
 Choice in 2003
Mar  7 22:06:46 dax sendmail[16121]: h2836UKU016121: Milter change: header  Cont
ent-Type: from text/html; charset=iso-8859-1 to multipart/mixed; boundary="-----
-----=_1047092802-16051-4"
Mar  7 22:06:46 dax sendmail[16121]: h2836UKU016121: Milter change: header  MIME
-Version: from 1.0 to 1.0
Mar  7 22:06:46 dax sendmail[16121]: h2836UKU016121: Milter delete: header  Cont
ent-Transfer-Encoding: 8bit
Mar  7 22:06:46 dax sendmail[16121]: h2836UKU016121: Milter message: body replac
ed
Mar  7 22:06:46 dax sendmail[16121]: h2836UKU016121: Milter add: header: X-Scann
ed-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang)

Unfortunately, shortly after, MD dies:

Mar  7 22:08:42 dax sendmail[16219]: h2838gKU016219: Milter (mimedefang): local
socket name /var/spool/MIMEDefang/mimedefang.sock unsafe
Mar  7 22:08:42 dax sendmail[16219]: h2838gKU016219: Milter (mimedefang): to err
or state
Mar  7 22:08:42 dax sendmail[16219]: h2838gKU016219: Milter: initialization fail
ed, temp failing commands

I stop and restart MD only to get this a few minutes later:

Mar  7 22:12:22 dax sendmail[16121]: h2836UKV016121: Milter (mimedefang): write(
Q) returned -1, expected 5: Broken pipe
Mar  7 22:12:22 dax sendmail[16121]: h2836UKV016121: Milter (mimedefang): to err
or state

After which I called it a nite and went to bed. :)

Anybody have an idea what is going on here?

Thanks

Paul








More information about the MIMEDefang mailing list