I'm using spamd with greylisting on a new Postfix mail proxy, but it's behaving strangely for accepted connections. If I make a connection to the server from my whitelisted (<spamd-white>) external test server, I see the following:

[EMAIL PROTECTED] root]# telnet mail.domain.com 25
Trying x.x.x.x...
Connected to mail.domain.com (x.x.x.x).
Escape character is '^]'.
220 ******************************
EHLO mail.dixongroup.net
502 Error: command not implemented
QUIT
221 Bye
Connection closed by foreign host.

First, I'm not sure where that 220 banner is coming from. I've checked "lsof -i tcp:25" and confirmed that Postfix's smtpd is running there. I've also run "pfctl -vss" to verify that the connection is being sent to Postfix (tcp/25) and not spamd (tcp/ 8025). What's really odd is that if I connect to Postfix from localhost (also whitelisted <spamd-white>), it behaves as expected:

# telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.domain.com ESMTP Postfix
EHLO localhost
250-mail.domain.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250 8BITMIME
quit
221 Bye
Connection closed by foreign host.

I have no problems sending mail if I resort to a HELO, but that doesn't solve the issue. I'd like to know what MTA is actually responding to those requests and why it's behaving differently.

Thanks,

--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net

Reply via email to