Re: [Exim] What happens when SA is delayed

Top Page
Delete this message
Reply to this message
Author: Bruce Richardson
Date:  
To: exim-users
Subject: Re: [Exim] What happens when SA is delayed
--
On Sat, Mar 20, 2004 at 07:56:24AM -0500, Frank DeChellis wrote:
> Since this started happening 3 weeks ago we have been experiencing email
> going to clients 5-10 and in some cases 100's of times. I turned SA off
> last night and it hasn't happened.


It would be helpful to see the snippet of your config file that contains
the router for SpamAssassin. Also to see how you make sure that mail
resubmitted from SpamAssassin isn't resent through SpamAssassin.

Speculating blindly, it might be that you check for a header that
SpamAssassin adds, only sending mail to SpamAssassin if that header is
not present. If spamd is too busy and the mail is resubmitted to Exim
without being processed, then that header will not be present and
the message will be resubmitted to SpamAssassin. Depending on how the
rest of your routers are set up, this could cause duplicates.

>
> Using my high level detective skills, I would have to think this was,
> somehow, causing my duplicate messages.
>
> Is it possible that Exim might try to have the email scanned, get a time
> out, send the message anyway but try to scan it again later?
>
> This problem has been a thorn in my side for a few weeks.


What parameters to you pass to spamc? Spamc defaults to simply
resubmitting a message unscanned if it fails to connect to spamd, but it
is possible to have it return an exit-code that should cause the mta to
requeue the message. I can imagine configurations where doing the
latter would cause duplicates.

--
Bruce

Nostalgia isn't what it used to be.
--
Content-Description: Digital signature

[ signature.asc of type application/pgp-signature deleted ]
--