sendmail / mimedefang / spamassassin combo: timeout before data read

sendmail / mimedefang / spamassassin combo: timeout before data read

am 21.09.2005 19:34:44 von Tom V

Hi,

I have a (solaris) mail relay with sendmail 8.13.4, mimedefang,
spamassassin, dcc , razor and pyzor.

I'm having "timeout before data read" errors from mimedefang which i
assume are originating from spamassassin.

unfortunately, I have no log file from spamassassin whatsoever. The only
thing i have are mimedefang lines in my maillog, but they don't say
anything about what spamassassin has been doing for each mail.

We are not running spamd, but are calling spamassassin via a socket.

Can someone please tell me how I can get spamassassin to create a logfile
? I can find out the queue id from the mail in the maillog, so if I could
correlate this with info from spamassassin, that would be great.


thanks for your help,


Tom.

Re: sendmail / mimedefang / spamassassin combo: timeout before data read

am 21.09.2005 21:07:56 von yf110

Tom V (tvanover@localhost.com) wrote:
: Hi,

: I have a (solaris) mail relay with sendmail 8.13.4, mimedefang,
: spamassassin, dcc , razor and pyzor.

: I'm having "timeout before data read" errors from mimedefang which i
: assume are originating from spamassassin.

: unfortunately, I have no log file from spamassassin whatsoever. The only
: thing i have are mimedefang lines in my maillog, but they don't say
: anything about what spamassassin has been doing for each mail.

: We are not running spamd, but are calling spamassassin via a socket.

I'm not quite sure what you mean by this. (Perhaps it's an option that is
too new for me.) Why not use spamd?

spamd has numerous options that include syslog options and debug messages,
so I assume it should be able to log things for you.

spamassassin can also print debug messages. Perhaps you could create a
wrapper in the place of spamassassin and then call the real spamassassin
with -D and 2>>logfile or such like, just to see what is going on


--

This programmer available for rent.

Re: sendmail / mimedefang / spamassassin combo: timeout before data read

am 21.09.2005 22:42:03 von jnemeth

Malcolm Dew-Jones (yf110@vtn1.victoria.tc.ca) wrote:
: Tom V (tvanover@localhost.com) wrote:
: : Hi,

: : I have a (solaris) mail relay with sendmail 8.13.4, mimedefang,
: : spamassassin, dcc , razor and pyzor.

: : I'm having "timeout before data read" errors from mimedefang which i
: : assume are originating from spamassassin.

: : unfortunately, I have no log file from spamassassin whatsoever. The only
: : thing i have are mimedefang lines in my maillog, but they don't say
: : anything about what spamassassin has been doing for each mail.

: : We are not running spamd, but are calling spamassassin via a socket.

: I'm not quite sure what you mean by this. (Perhaps it's an option that is
: too new for me.) Why not use spamd?

I would have to ask what is at the far end of the socket, if not
spamd? However, the standard way of using SpamAssassin from MIMEDefang
is to simply access the Perl module directly. After all, SpamAssasin
is nothing more then a Perl function, and spamd is nothing more then a
permanently running daemon that feeds messages to the SpamAssassin
module.

To the original poster, SpamAssasin may be causing delays that
relate to the error, but it is most definitely MIMEDefang that is
throwing the error. The way SpamAssassin is used in MIMEDefang, it is
not capable of throwing any errors itself. As for solutions, you
should check the archives of the MIMEDefang mailing list as this
problem is constantly popping up and has popped up in the last month.
The archives can be found at
http://lists.roaringpenguin.com/pipermail/mimedefang/ .

Re: sendmail / mimedefang / spamassassin combo: timeout before data read

am 22.09.2005 19:05:01 von Tom V

On Wed, 21 Sep 2005 13:42:03 -0700, John Nemeth wrote:

> Malcolm Dew-Jones (yf110@vtn1.victoria.tc.ca) wrote:
> : Tom V (tvanover@localhost.com) wrote:
> : : Hi,
>
> : : I have a (solaris) mail relay with sendmail 8.13.4, mimedefang,
> : : spamassassin, dcc , razor and pyzor.
>
> : : I'm having "timeout before data read" errors from mimedefang which i
> : : assume are originating from spamassassin.
>
> : : unfortunately, I have no log file from spamassassin whatsoever. The only
> : : thing i have are mimedefang lines in my maillog, but they don't say
> : : anything about what spamassassin has been doing for each mail.
>
> : : We are not running spamd, but are calling spamassassin via a socket.
>
> : I'm not quite sure what you mean by this. (Perhaps it's an option that is
> : too new for me.) Why not use spamd?
>
> I would have to ask what is at the far end of the socket, if not
> spamd? However, the standard way of using SpamAssassin from MIMEDefang
> is to simply access the Perl module directly. After all, SpamAssasin
> is nothing more then a Perl function, and spamd is nothing more then a
> permanently running daemon that feeds messages to the SpamAssassin
> module.
>
> To the original poster, SpamAssasin may be causing delays that
> relate to the error, but it is most definitely MIMEDefang that is
> throwing the error. The way SpamAssassin is used in MIMEDefang, it is
> not capable of throwing any errors itself. As for solutions, you
> should check the archives of the MIMEDefang mailing list as this
> problem is constantly popping up and has popped up in the last month.
> The archives can be found at
> http://lists.roaringpenguin.com/pipermail/mimedefang/ .

Well, the list says: make the timeouts in the sendmail.cf bigger, but i've
now set it to 10 minutes, and i still have these timeouts.

I've been looking into using spamc/spamd instead of having spamassassin
being called directly by mimedefang, but then i came accross this message:

http://lists.roaringpenguin.com/pipermail/mimedefang/2002-Au gust/002027.html

which basicly says: stick with the default way to launch spamassassin via
mimedefang (using the perl function), and don't mix mimedefang with
spamc/spamd.

The problem being for me that currently, info on what spamassassin is
doing is inexistant.

Now, this message dates from 2002. Does this still hold true ?


thx,

tom.

Re: sendmail / mimedefang / spamassassin combo: timeout before dataread

am 24.09.2005 09:55:03 von Rob MacGregor

Tom V wrote:
> Well, the list says: make the timeouts in the sendmail.cf bigger, but i've
> now set it to 10 minutes, and i still have these timeouts.

[Note, you may have more luck on the MD mailing list]

10 minutes is odd - what's your hardware platform and how heavily loaded is it?

Have you customised your mimedefang-filter in any way and do you have
networking problems?

As a rough indicator, I've got an 800 MHz box that does little else but handle
incoming mail. It runs mail through MD with SpamAssassin (Razor, Pyzor, DCC)
and ClamAV and the average scan time is 4-5 seconds.

--
Rob MacGregor (BOFH) Oh my God! They killed init! You bastards!

You can't stop the signal - Serenity