Inhaltsverzeichnis

Einrichtung von Postfix

apt-get install postfix

–> Modus: Internet mit Smarthost

Unsere Einstellungen

Nötige Einstellungen in

myhostname = blablabla.dyndns.org
mydestination = irgendwas.dyndns.org, myhostname, localhost.localdomain, localhost
relayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
sender_canonical_maps = hash:/etc/postfix/sender_canonical
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 , 192.168.2.0/24

inet_interfaces = 192.168.2.1, 127.0.0.1 # <-- wichtig! sonst is man gleich spam sender :)

danach

postmap /etc/postfix/sasl_password
postmap /etc/postfix/sender_canonical

evtl. hilfreich um Versand über zB gmail hinzukriegen: http://www.howtoforge.de/howto/das-perfekte-setup-debian-etch-40/5/

http://wiki.ubuntuusers.de/Postfix

Da stehn die T-Online eMail server: http://service.t-online.de/c/12/71/00/26/12710026.html der ohne TLS geht ohne die smtp_tls Einstellungen.