Peter,

> Some customers we relay mails for get duplicated mails. Now I try to
> track if they get duplicated in our
> FreeBSD/sendmail/amavis-milter/amavis-gateway or somewhere at the
> sender's side.
>
> Mar 30 15:08:53 mailtwo sm-mta[65928]: k2UD8pM8065928:
> from=<**thisone**>, size=241591, class=0, nrcpts=1,
> msgid=<[EMAIL PROTECTED]>,
> proto=ESMTP, daemon=MTA, relay=**thisonesrelay**
> Mar 30 15:18:53 mailtwo sm-mta[65928]: k2UD8pM8065928: Milter
> (milter-amavis): timeout before data read

Your sendmail has a 10 second timeout on milter. That is fairly short,
README.milter suggests 10 minutes.

> Mar 30 15:18:53 mailtwo sm-mta[65928]: k2UD8pM8065928: Milter
> (milter-amavis): to error state
> Mar 30 15:19:04 mailtwo sm-mta[66350]: k2UD8pM8065928: to=<**thatone**>,
> delay=00:10:13, xdelay=00:00:11, mailer=esmtp, pri=271591,
> relay=**thatonesrelay**, dsn=2.0.0, stat=Sent (k2UDHcAY039605 Message
> accepted for delivery)

This one above is most weird. Despite milter failure, the message
was forwarded. Usual suggested failure mode is F=T
(in the sendmail setup for milter).

> Mar 30 15:23:12 mailtwo amavis[66548]: (66548)
> AM.CL /var/amavis/amavis-milter-k2UD8pM8065928: <**thisone**> ->
> <**thatone**>
> Mar 30 15:23:15 mailtwo amavis-milter[506]: k2UD8pM8065928: (mlfi_eom)
> smfi_addheader failed, perhaps milter session timed out

Even though sendmail timed out its side, amavisd continued processing
the message, and after 14 seconds it has completed its job,
but there was noone listening for the final result. Nevertheless,
this should not be producing a mail duplicate, so I don't know where
it comes from.

> In my eyes this looks like the mail got recieved, scanning failed, it
> got sent (that's what we want in this case)...

So it looks (although tempfailing it is recommended).

> but why was it processed 
> afterwards again? That doesn't sound like a very good idea...

It wasn't, the same processing continued for 14 seconds.

> We have got:
> - FreeBSD 5.2.1
> - amavisd-new-2.2.1_1,1

That's fairly old.

> - clamav-0.88

> - p5-Mail-SpamAssassin-2.63_1
> - p5-Mail-SpamAssassin-3.0.2_1
> .oO(Uhm... why two of them? Did portupgrade produce a bit of junk??)

Get rid of both of them, and install 3.1.1 from ports.

  Mark


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to