On Fri, 23 Jan 2009 08:10:25 -0600, Noel Jones wrote > Peter Micunek wrote: > > Hi, > > I have a strange problem with some email sessions. > > Postfix 2.5.2 is configured like email router. > > It receives emails from many sources and sends them to one destination. > > Each rules for mail routing are done by transport table. > > > > Everything works properly but sometimes some emails are "bounced". > > Could you help me to find where the problem is. > > > > LOG: > > > > Jan 23 08:05:42 aaa.bbb.sk postfix/smtp[28591]: 08ECEA73CD: > > to=<b...@ccc.ddd.sk>, relay=eeeeee.sk[10.10.10.101]:25, > > conn_use=2, delay=10, delays=10/0.03/0/0, dsn=5.0.0, status=bounced > > (host eeeeee.sk[10.10.10.101] said: 501 The first command in a > > session must be the HELO command (in reply to MAIL FROM command)) > > > > > > SESSION: > > > > (C - postfix) > > (S - propietary SMTPD) > > > > C ---> HELO aaa.bbb.sk > > S <--- 250 Hello ccc.ddd.sk > > C ---> MAIL FROM:<sm...@eeeeee.sk> > > S <--- 250 <sm...@eeeeee.sk> Sender ok > > C ---> RCPT TO:<b...@ccc.ddd.sk> > > S <--- 250 <b...@ccc.ddd.sk> Recipient ok > > C ---> DATA > > S <--- 354 Start mail input; end with <CRLF>.<CRLF> > > C ---> . > > S <--- 250 Message accepted for delivery > > C ---> RSET > > S <--- 250 Reset state > > C ---> MAIL FROM:<j...@xxxxxx.sk> > > S <--- 501 The first command in a session must be the HELO command > > > > BR > > Peter > > The "S" server doesn't speak SMTP. > > You can work around this error by setting in postfix main.cf > smtp_connection_cache_on_demand = no > > -- > Noel Jones
Hi Noel, thanks for your advice. After two days I do not see any "501 The first command ...." line in the logs. Peter M. ----------------------------------------------- Stavebna fakulta STU, Bratislava Faculty of Civil Engineering STU, Bratislava http://www.svf.stuba.sk