On 4/1/07, Mark Martinec <[EMAIL PROTECTED]> wrote: > > Clifton, > > > > I wonder why listening port 10025 response to data end with "354 End > data > > > with <CR><LF>.<CR><LF>" instead of ""250 Ok: queued as xxxxx". > > > > Well, this would seem to indicate that the two SMTP processes are out > > of sync and/or that the far side didn't see the actual data transmitted > > following the "DATA". > > > > I have seen something like this only rarely and only in my > > configuration where I'm chaining from amavisd into another custom > > content filter before it re-enters Postfix. I have attributed that to > > a possible bug - never tracked down - where the latter filter is losing > > sync with Postfix. I am readier to blame my own code than amavisd. > > Thanks for mentioning the possibility that a smtp server on port 10025 > is not Postfix and that it may be crashing - it was not mentioned by OP, > and I blindly assumed that mail is being fed back directly to Postfix.
I have a python filter, ytnef_smtpd ( http://freshmeat.net/projects/ytnef_smtpd.py) for extracting data from winmail.dat files, so that non-outlook users can see the attachments. This filter runs on 10025. Looks like it was the cause of my problem! I've disabled it and the mail went through without a hitch. However, now I'm back to my winmail.dat problem. I am running the latest amavisd-new and postfix. If the server on port 10025 would crash in the middle of a data transfer, > this could possibly manifests itself like described. It is not the case > of SMTP getting out of sync, but rather a result of inability in > Net::SMTP to provide a proper queue of responses (and to support > pipelining). So what may have happened is the same old "354" status > was seen again by amavisd, instead of directly noticing a broken > connection. > > So the problem may have been misdiagnosed (and log shows a misleading > repeat of the previous status), but the handling is still ok, message > fails with a temporary failure. Instead of "451 4.6.0 Bad SMTP code" > a better diagostics would be "451 4.6.0 Connection closed", > but this is hard to achieve with the current implementation > in a Net::SMTP module. > > Mark > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > 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/ > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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/
