csmarkus
By:
csmarkus

Postfix: improper command pipelining after EHLO from unknown

October 14, 2014 14.5k views

I am attempting to access my email via Thunderbird and I get the following in /var/log/mail.log

Oct 14 13:27:22 baal postfix/submission/smtpd[15559]: warning: hostname cuda1.p2pa.com does not resolve to address 69.24.39.162
Oct 14 13:27:22 baal postfix/submission/smtpd[15559]: connect from unknown[69.24.39.162]
Oct 14 13:27:22 baal postfix/submission/smtpd[15559]: improper command pipelining after EHLO from unknown[69.24.39.162]: QUIT\r\n
Oct 14 13:27:22 baal postfix/submission/smtpd[15559]: disconnect from unknown[69.24.39.162]

What is causing this?

Additionally I am also getting the following from Dovecot when it starts in /var/log/mail.err

Oct 14 12:05:35 baal dovecot: auth: Error: read(anvil-auth-penalty) failed: EOF
Oct 14 12:05:35 baal dovecot: auth: Error: net_connect_unix(anvil-auth-penalty) failed: Permission denied

This is the tutorial I followed: https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassasin

3 Answers

For those who come here: I solved it by commenting out port=0 so that default imap settings becomes available /etc/dovecot/conf.d/10-master.conf:
service imap-login {
inet_listener imap {
#port = 0
}
...
}
I guessed correctly that somehow the imap protocol is being blocked somehow (You should also check the firewall) :)

  • Thank you so much! I would have never have guessed this, I was thinking it was a permission error as it stated.

I face the same trouble .... no way to solve it, i´m try everything over 5 hours

excellent solution. thanks a lot

Have another answer? Share your knowledge.