We have an issue with 2 postfix servers of the same vintage/version. If I telnet port 25 to the server (Putty), it connects fine, then ANY command I send, be it helo, ehlo, or even just cr/lf (hit enter), I get:
502 5.5.2 Error: command not recognized If I send the same command again, it then works fine from then on out: ehlo localhost 250-dlmail.domain.local 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN Its always the 1st command after initial connection fails, any subsequent of that same connection works fine. If I -vvv the log, I see (IPs and other sensitive data redacted): Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: event_loop: read fd=6 act=0x557650a49f60 0x6 Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: event_cancel_timer: 0x557650a4a040 0x0 45 Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: connection established Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: master_notify: status 0 Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: name_mask: resource Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: name_mask: software Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: connect from gateway[172.X.X.X] Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: match_list_match: gateway: no match Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: match_list_match: 172.X.X.X: no match Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: match_list_match: gateway: no match Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: match_list_match: 172.X.X.X: no match Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: smtp_stream_setup: maxtime=300 enable_deadline=0 Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: match_hostname: gateway ~? 172. X.X.X /32 Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: match_hostaddr: 172. X.X.X ~? X.X.X /32 Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: > gateway[172. X.X.X]: 220 DLW011.domain.local ESMTP Postfix Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: watchdog_pat: 0x557652305720 Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: vstream_fflush_some: fd 12 flush 40 Apr 25 09:29:04 DLW011 postfix/smtpd[5393]: vstream_buf_get_ready: fd 12 got 21 Apr 25 09:29:10 DLW011 postfix/smtpd[5393]: vstream_buf_get_ready: fd 12 got 16 Apr 25 09:29:10 DLW011 postfix/smtpd[5393]: < gateway[172. X.X.X]: ????? ?????'?????????ehlo localhost Apr 25 09:29:10 DLW011 postfix/smtpd[5393]: match_string: ????? ~? CONNECT Apr 25 09:29:10 DLW011 postfix/smtpd[5393]: match_string: ????? ~? GET Apr 25 09:29:10 DLW011 postfix/smtpd[5393]: match_string: ????? ~? POST Apr 25 09:29:10 DLW011 postfix/smtpd[5393]: match_list_match: ?????: no match Apr 25 09:29:10 DLW011 postfix/smtpd[5393]: > gateway[172. X.X.X]: 502 5.5.2 Error: command not recognized Apr 25 09:29:10 DLW011 postfix/smtpd[5393]: watchdog_pat: 0x557652305720 Apr 25 09:29:10 DLW011 postfix/smtpd[5393]: vstream_fflush_some: fd 12 flush 41 The 1st command is always prefaced with a bunch of question marks. Subsequent commands of the same connection do not have all those question marks. Anyone have a clue whats going on/what setting needs changed/whats busted? Thanks Jim This message may contain confidential information. If you are not the intended recipient, do not disseminate, distribute, or copy this e-mail or its attachments. Please notify the sender of the error immediately by e-mail or at the telephone number listed below, and delete this e-mail and any attachments from your system. Receipt by anyone other than the intended recipient(s) is not a waiver of any trade secrets, proprietary interests, or other applicable rights. E-mail transmission is not necessarily secure or error-free, as information could be intercepted, corrupted, lost, destroyed, delayed, incomplete, or may contain viruses. The sender disclaims all liability for any errors or omissions arising as a result of the e-mail transmission. OEConnection LLC, (888) 776-5792, www.oeconnection.com
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org