Friday, January 10, 2014

fixing / changing HELO of mail server

Bounce processing was not proceeding. It complained that php imap module was not installed. Did

apt-get install php5-imap
and service restart apache2
Then error was, cannot open /var/mail/apachemails
had to do chmod 660 for /var/mail/apachemails

Some mails are being bounced, like rediffmail,
Jan 10 02:19:32 krishna postfix/smtp[28562]: 112D02A0C11: to=,[]:25, delay=0.27, delays=0.1/0/0.1/0.07, dsn=5.0.0, status=bounced (host[] said: 553 sorry, invalid HELO hostname (#5.7.1) (in reply to RCPT TO command))
Checking the sai inspires email, looks like the HELO is being sent as krishna instead of FQDN, gmail show original shows
Received: from ( [])
for older mails, while for newer mails it says

Received: from krishna ( [])

Fixed by changing in /etc/postfix/
 myhostname=krishna   to

No comments:

Post a Comment