User Tools

Site Tools


linux:mail:postfix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:mail:postfix [2020/10/23 19:48] mslinux:mail:postfix [2023/01/11 20:29] (current) – external edit 127.0.0.1
Line 66: Line 66:
 inet_protocols = all inet_protocols = all
 </code> </code>
 +==== User und Passwort konfigureieren ====
 +<code>
 +vi /etc/postfix/sasl_passwd
  
 +smtp.strato.de musterman@example.de:geheimes_passwort
 +</code>
 +<code>
 +postmap /etc/postfix/sasl_passwd
 +</code>
 +<code>
 +chown root:root /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db
 +chmod 0600 /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db
 +</code>
 +<code>
 +root> systemctl restart postfix.service
  
 +oder
 +
 +root> /etc/init.d/postfix restart
 +</code>
 +==== Mailversand testen ====
 +<code>
 +echo "Dies ist eine Testmail" | mailx -s "Test" name@domain.de
 +</code>
 +paralell dazu Log-Datei beobachten
 +<code>
 +root> tail -f /var/log/mail.log
 +</code>
linux/mail/postfix.1603475304.txt.gz · Last modified: 2023/01/11 20:30 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki