Benutzer-Werkzeuge

Webseiten-Werkzeuge


konnektivitaet:postfix

Dies ist eine alte Version des Dokuments!


Einrichtung von Postfix

apt-get install postfix

–> Modus: Internet mit Smarthost

Unsere Einstellungen

  • Versand über t-online: nimmt immer die t-online eMailadresse als Absender
  • Versand über gmail: alle, die man dort auch als Absender authentifiziert hat, funktionieren! :)

Nötige Einstellungen in

  • /etc/postfix/main.cf
myhostname = loeb.ath.cx
mydestination = irgendwas.dyndns.org, myhostname, localhost.localdomain, localhost
relayhost = smtp.gmail.com
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 :)
  • /etc/postfix/sasl_password (auth für smtp relay host)
    smtp.gmail.com username@gmail.com:password
  • /etc/postfix/sender_canonical (erlaubte Absenderadressen für die User)
    unixuser eine@emailadresse.de

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.

konnektivitaet/postfix.1237212102.txt.gz · Zuletzt geändert: 2009/03/16 15:01 von quirxl

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki