

Also why am I getting a " Active: (exited) ~# systemctl status postfix* I have added the missing colon to the config you have highlighted, However am still not able to send email below is the output from the journalctl. Smtp_generic_maps = hash:/etc/postfix/generic Smtp_tls_CAfile = /etc/postfix/cacert.pem Sender_canonical_maps = regexp:/etc/postfix/sender_canonical Smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd Mydestination = $myhostname, localhost.localdomain, localhost Smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination # information on enabling SSL in the smtp client. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for Smtpd_tls_session_cache_database = btree:$/smtp_scache Smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key Smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem # Uncomment the next line to generate "delayed mail" warnings # line of that file to be used as the name. # Debian specific: Specifying a file name will cause the first # See /usr/share/postfix/main.cf.dist for a commented, more complete version No i didnt use the Confconsole because I didnt know of it. below is the config I have am using it for mail relay.

If you did use Confconsole, please let me know abut any other config tweaks you've tried. If you haven't already tried using Confconsole, I suggest that you revert any config changes you've made, and try using that to set it up. Perhaps you also need to tweaks some config within your Office365 account? Google, AWS, etc) and all the ones I've tested worked fine.Īlthough it's possibly also worth noting, that to get Google to work, you actually need to make some tweaks to the config in your Google account. Admittedly, I haven't explicitly tested it with Office365, but I have tested it with a range of other providers (e.g.

It provides an easy way to integrate with "Send-In-Blue" email provider, but there is also a "custom" option which should support any/all other providers. How did you configure the SMTP relay for Postfix? The "unknown mail transport error" suggests that you may have missed something, or the config is not quite correct.įWIW we include a Confconsole plugin to set up Email relaying. FWIW the Postfix status info you've posted is expected in TurnKey v15.x.
