Server: Ubuntu 12.04 64 bit
Setup Postfix + Dovecot + Amavis with Mysql for Virtual domains.
I have configured the postfix mailserver successfully. However when I test the Email with mail-tester.com, i see following error
FSL_HELO_BARE_IP_2 IP used in the HELO request The hostname should be
a domain name, not an IP RCVD_NUMERIC_HELO Received: contains an IP
address used for HELO
The server has correct hostname and ptr configured and the EHLO is correct. . However when we connect to Amavis, its showing as 127.0.0.1
Telnet to server ip
# telnet 85.10.199.8 25
Trying 85.10.199.8...
Connected to 85.10.199.8.
Escape character is '^]'.
220 mail.savelgo.com ESMTP Postfix
ehlo localhost
250-mail.savelgo.com
Telnet to Amavis
# telnet localhost 10024
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-new service ready
ehlo localhost
250-[127.0.0.1]
Can I somehow change this to my server hostname?.
Any ideas?
Thanks
Best Answer
Set
$localhost_name
parameter in your config file.