Re: [Exim] Spamassassin and transport failure

Top Page
Delete this message
Reply to this message
Author: j.linn
Date:  
To: John Horne
CC: exim-users
Subject: Re: [Exim] Spamassassin and transport failure
My problems is when the system runs out of resources, the time to scan
takes longer and longer. Yesterday is was failing on a few 100 messages
but I think I needed more tday. In the spamd log it shows by the time to
scan going from 0 or 1 sec to 20 to 100 to .... and finally it breaks the
timeout on [B]SMTP.

The error mesage is givben below with d9 as you suggested.

I use Exiscan v1 patched and modified so I can force it to limit the
number of exims it spawns (and then spamd's). It now fails at 50 but works
fine at 5.

I have also included the message size in the transport condition so as not
to even call spamd if the message is too large. I expect that the SA
whitelist would be better in the EXIM condition.

However the fact remains that it can fail and start bouncing messages is
what concerns me. I cannot find anything about pipes failing but that is
the crux of the problem now.


QUESTION: does anyone know how to trap errors in PIPES and hold the mail
for a retry?

John Linn

>From Mailer-Daemon@??? Wed May 22 14:20:01 2002

Date: Wed, 22 May 2002 14:16:21 +0100
From: Mail Delivery System <Mailer-Daemon@???>
To: sys044@???
Subject: Mail delivery failed: returning message to sender

This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  j.linn@???
    pipe delivery process timed out


The following text was generated during the delivery attempt:

------ j.linn@??? ------

Exim version 3.33 debug level 9 uid=7951 gid=2000
Berkeley DB: Sleepycat Software: Berkeley DB 3.1.17: (July 31, 2000)
Caller is an admin user
Caller is a trusted user
user name "JAL" extracted from gecos field "JAL, for e-mail support"
originator: uid=xxxx gid=yyyy login=XXXX name=JAL
sender address = NULL
smtp_setup_msg entered
SMTP<< MAIL FROM:<sys044@???>
SMTP<< RCPT TO:<j.linn@???>
SMTP<< DATA
search_tidyup called
LOG: 4 MAIN
SMTP data timeout (message abandoned) on connection from local process

------ This is a copy of the message, including all the headers. ------

Return-path: <sys044@???>
Received: from mailhub2.abdn.ac.uk ([139.133.7.24])
    by mailtest.abdn.ac.uk with esmtp (Exim 3.33 #4)
    id 17AVr7-0004kj-00
    for j.linn@???; Wed, 22 May 2002 14:08:41 +0100
Received: from sysa.abdn.ac.uk ([139.133.7.110] helo=sysa)
    by mailhub2.abdn.ac.uk with esmtp (Exim 3.33 #4)
    id 17AVq8-0006hh-00
    for x-j.linn@???; Wed, 22 May 2002 14:07:40 +0100
Date: Wed, 22 May 2002 14:07:37 +0100 (BST)
Message-Id: <S200205221307.g4MD7bW14989@sysa>
From: sys044@???
To: x-j.linn@???
Subject: test11
X-Scanner: exiscan *17AVq8-0006hh-00*0wW7I.eyFE.*