Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haraka hostname and smtp rejection #145

Closed
needafix opened this issue Dec 9, 2016 · 5 comments
Closed

haraka hostname and smtp rejection #145

needafix opened this issue Dec 9, 2016 · 5 comments

Comments

@needafix
Copy link

needafix commented Dec 9, 2016

Found emails sent out of our smtp MT6 server were being rejected. The cause is invalid HELO name (haraka). Just a suggestion, you ought to get fqdn in /etc/rc.conf in the haraka jail.

H=smtpd.mydomain.tld (haraka) [XX.193.XXX.23]:57062 X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no rejected MAIL myfriend@her-domain.tld: Access denied - Invalid HELO name (See RFC2821 4.1.1.1)

Once I changed /etc/rc.conf hostname= to fqdn, no mail is rejected.

@msimerson
Copy link
Owner

That's fine for you. You altered the Haraka config so that Haraka delivers directly (vs forwarding everything to qmail) so you should also alter your Haraka config to set your hostname to your FQDN. Another way is: echo $TOASTER_HOSTNAME > /data/haraka/config/me

@needafix
Copy link
Author

needafix commented Dec 14, 2016 via email

@msimerson
Copy link
Owner

That's perfectly fine. Again, the right solution there is simply to configure Haraka's hostname. Your localized changes are preserved across deployments.

@needafix
Copy link
Author

needafix commented Dec 16, 2016 via email

@Infern1
Copy link
Collaborator

Infern1 commented Dec 16, 2016

echo you FQDN to config/me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants