Topic: Relayhost per domain
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
iRedMail v0.9.7
iRedAdmin-Pro v2.8.0 (MySQL)
- Linux/BSD distribution name and version: Debian
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello,
We try to use a smtp relay host (mailjet) per domain and we have the following error :
(SASL authentication failed; cannot authenticate to server in-v3.mailjet.com[5.196.43.135]: no mechanism available)
The iredmail version purchased is the latest.
We add the relay host to the domain with the iredadmin panel
[in-v3.mailjet.com]:587
in postfix/main.cf we add :
#sender dependent relay host
smtp_sender_dependent_authentication = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd
smtp_sasl_auth_enable = yes
smtp_sasl_mechanism_filter = login
smtp_sasl_security_options = noanonymous
We create the sasl_passwd (example) :
@domain.com aaaaaaaa:aaaaaaaa
And we did :
/usr/sbin/postmap hash:/etc/postfix/sasl/sasl_passwd
service postfix restart
Any idea ?
Thanks
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.