Postfix relayhost Konfiguration auf Mac OS Server (ab Version 10.10)

1. /Library/Server/Mail/Config/postfix/main.cf modifizieren, mit folgenden Zeilen ergänzen
relayhost = myrelayhost.mydomain.com:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/Library/Server/Mail/Config/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_sasl_local_domain = localhost
broken_sasl_auth_clients = yes
smtpd_pw_server_security_options = noanonymous
smtp_use_tls=yes
smtp_tls_security_level=encrypt
tls_random_source=dev:/dev/urandom

In diesem Beispiel bitte «myrelayhost.mydomain.com» durch ihren eigenen Host ersetzt.

2. /Library/Server/Mail/Config/postfix/sasl_passwd mit folgendem Inhalt erstellen
myrelayhost.mydomain.com:587 username:passwd

Auch hier «myrelayhost.mydomain.com» durch eigenen Hostnamen ersetzt, sowie username:passwort ebenso.

3. postmap auf dieses sasl_passwd File ausführen 
postmap /Library/Server/Mail/Config/postfix/sasl_passwd
4. Testnachricht versenden
echo 'Email is now working! :)' | mail -s 'Test Email' name@domain.ch

2. August 2015 3324 webadmin  OS X Server
Total 0 Votes:
0

Tell us how can we improve this post?

+ = Verify Human or Spambot ?

Add A Knowledge Base Question !

+ = Verify Human or Spambot ?

Add A Knowledge Base Question !

+ = Verify Human or Spambot ?