Postfix Ehlo Error Command Not Recognized
Contents |
only takes a few minutes. Join Now ◄ Prev 1 2 3 Next ► 54 Replies Mace OP Alex3031 Sep 12, 2012 at 2:49 UTC Fabien9861 wrote: smtp 502 5.5 2 error command not recognized Would I find the log in /var/mail? That folder is empty other than for postfix ehlo 502 5.5.2 error command not recognized a 0-byte file called rpc. No in /var/log 2 Mace OP Alex3031 Sep 12, 2012 at 2:49 UTC Port telnet 502 5.5.2 error command not recognized 445 thinking was along the lines of TLS liken Ben started to go down, you may not have this enabled. 0 Serrano OP Hammer_bb Sep 12, 2012 at 2:57 UTC If you have ehlo command not recognized the mail server console open and run "tail -f /var/log/mail.log" Then watch what shows up when you attempt to connect from your local machine. You should see some information which will help work out what's causing this issue. 1 Sonora OP Fabien9861 Sep 12, 2012 at 2:58 UTC Here's the log of my latest connection: Sep 11 22:17:56 epsmtp01 postfix/smtpd[10762]: connect from unknown[10.140.175.152] Sep 11 22:22:59 epsmtp01 postfix/smtpd[10762]: timeout
Ehlo Command Not Found Ubuntu
after UNKNOWN from unknown[10.140.175.152] Sep 11 22:22:59 epsmtp01 postfix/smtpd[10762]: disconnect from unknown[10.140.175.152] Note: it just occurred to me that this network is not added to the mynetworks setting, but the behavior is the same as from my workstation at the office. Here's the log from a successful test earlier in the day: Sep 11 14:58:30 epsmtp01 postfix/smtpd[4865]: connect from 10.200.1.16 Sep 11 14:58:55 epsmtp01 postfix/smtpd[4865]: EE4FE608E: client=10.200.1.16 Sep 11 14:59:02 epsmtp01 postfix/cleanup[4927]: EE4FE608E: message-id=<> Sep 11 14:59:02 epsmtp01 postfix/qmgr[4694]: EE4FE608E: from=
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and
Helo Command Not Recognized
policies of this site About Us Learn more about Stack Overflow the company helo unrecognized command Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask 500 5.3.3 unrecognized command Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask https://community.spiceworks.com/topic/257648-help-setting-up-postfix-linux-smtp-server?page=2 a question Anybody can answer The best answers are voted up and rise to the top Why does postfix mail server throw error 502 when testing email from Drobo Dashboard? up vote 0 down vote favorite I'm configuring a Drobo on a Mac OS X 10.5 Leopard Server file server and am trying to configure email notifications. Unfortunately, when doing so, both http://serverfault.com/questions/268267/why-does-postfix-mail-server-throw-error-502-when-testing-email-from-drobo-dashb our primary mail server and the local Mail service on the server throw a "502 5.5.2 Error: command not recognized" error when attempting to send the test message. Both our primary mail server and the local Mail service on the file server are Mac OS X 10.5 Leopard Server and so are postfix-based. The primary mail server is set to allow relaying from the local network and the local Mail service is set to only allow relaying from 127.0.0.0/8 and it's IP address and to relay through our primary mail server. This has all worked well for years until now. Drobo Dashboard's Email Settings cannot send through either the primary mail server or localhost without authentication without getting the aforementioned error, although all our other scripts on the server continue to send email normally. I've set debug_peer_level = 3 & debug_peer_list = 127.0.0.1 in /etc/postfix/main.cf on the file server. When attempting to send the test message from Drobo Dashboard, I get the following debug info in /var/log/mail.log: May 10 13:32:58 eeg postfix/smtpd[7320]: connect from localhost[127.0.0.1] May 10 13:32:58 eeg postfix/smtpd[7320]: match_hostname: localhost ~? 127.0.0.0/8 May 1
my Postfix server, I realized that it was working only from inside my network. What I got https://phocean.net/2008/06/11/postfix-tls-not-working-outside-my-network.html from my lan : $ telnet mars 25 Trying 192.168.222.10... Connected to phocean.net. Escape character is '^]'. 220 phocean.net ESMTP Postfix (Debian/GNU) ehlo phocean.net 250-phocean.net 250-PIPELINING 250-SIZE 200000000 https://groups.google.com/d/topic/uk.net.providers.aaisp/6dJa-qjNztM 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH NTLM DIGEST-MD5 CRAM-MD5 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN I shows well that the TLS handshake is initiated. But from this outside, I just got this command not weired thing : $ telnet phocean.net 25 Trying 81.64.194.119... Connected to phocean.net. Escape character is '^]'. 220 ********************************************** ehlo phocean.net 502 5.5.2 Error: command not recognized Of course, the firewall, a Cisco Pix one, was properly set to redirect port 25 UDP/TCP to my server. However, I soon focused my effort on this equipment. I considered a command not recognized while that the cause could be some filtering from my provider, but most probably, the problem came from the Pix. That was not difficult to figure out : it had some protocol inspector activated for SMTP : $ sh ru [...] fixup protocol smtp 25 [...] Just after : > no fixup protocol smtp 25 … it started to work perfectly well !!! The engine for the SMTP protocol could not recognize the TLS handshake, considered that the SMTP session as not valid and therefore blocked it ! I can deactivate it without any fear as my Postfix server is already pretty well secured, or at least configured to reject any weired SMTP dialog. Defense Cisco, Firewall, Pix, Postfix, SMTP, TLS June 11, 2008 by phocean. Post navigation ← Hacked ! About network attacks… → Leave a comment Cancel reply Your email address will not be published. Required fields are marked *Comment Notify me of followup comments via e-mail Name * Email * Website Twitter Proudly powered by WordPress
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen