[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NULL context in mlfi_close
From: |
junk |
Subject: |
Re: NULL context in mlfi_close |
Date: |
Fri, 22 Apr 2005 10:16:17 -0500 |
User-agent: |
Internet Messaging Program (IMP) 3.1 |
Dan,
Thanks for a quick response.
If this problem is a sendmail bug, then I don't understand how clamav gets
around it. It seems to be oblivious to any other milter and is able to process
messages just fine.
I only installed spamass-milter yesterday after having no luck whatsoever in
getting spamassassin to run as a milter. No spamassassin documentation talks
about a need for spamass-milter. Could sendmail talk to spamassassin directly
over the socket?
It appears to me that the way this works is that sendmail sends data to spamas-
milter over a socket. Spmass-milter then talks to spamd as it were a
spamassassin client, spamc. If spamass-milter is needed and if that's how the
exchange takes place, should there not be two different sockets involved here:
one from sendmail to spamass-milter and then another one between spamass-milter
and spamd. In my configuration, spamassassin is called with these options:
-L -D -d -m5 -uspamd --socketpath=/var/run/spammilter/spamass.so
ck
and spamass-milter is called with these:
SOCKET="/var/run/spammilter/spamass.sock"
EXTRA_FLAGS="-m -r 15 -u spamd -- -U/var/run/spammilter/spamass.sock"
Should two separate sockets be used?
Greg
Quoting Dan Nelson <address@hidden>:
> In the last episode (Apr 22), Gregory Szeszko said:
> > I get the following error message when running spamassassin and
> > spamass-milter:
> >
> > Apr 22 01:50:26 iserve2 spamass-milter[13103]: NULL context in mlfi_close!
> Should not happen!
> > Apr 22 01:50:26 iserve2 spamass-milter[13103]: Could not extract score from
> <>
> >
> > My sendmail.mc contains these lines:
> >
> > INPUT_MAIL_FILTER(`clamav',`S=local:/var/run/clamav/clamav-milter.sock, F=,
> T=S:4m;R:4m')dnl
> > INPUT_MAIL_FILTER(`spamassassin',`S=local:/var/run/spammilter/spamass.sock,
> F=, T=C:30m;S:30m;R:30m;E:30m')dnl
> > define(`confINPUT_MAIL_FILTERS', `clamav,spamassassin')dnl
> >
> > I initially thought that it might be caused by muliptle
> > INPUT_MAIL_FILTERS in sendmail.mc. But I still get this error even
> > if spamassassin is the only milter, like this:
>
> I'm pretty sure it's a sendmail bug (at least in 8.13.3), since
> mlfi_connect() sets the context, and the milter documentation doesn't
> allow for mlfi_close to be called unless mlfi_connect was called. See
> http://www.milter.org/milter_api/overview.html .
>
> --
> Dan Nelson
> address@hidden
>