Postfix: Unterschied zwischen den Versionen
Aus Doku-Wiki
Zur Navigation springenZur Suche springenUli (Diskussion | Beiträge) |
Uli (Diskussion | Beiträge) |
||
Zeile 62: | Zeile 62: | ||
=Policyd-weight= | =Policyd-weight= | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=Greylisting= | =Greylisting= |
Version vom 31. August 2012, 12:02 Uhr
Inhaltsverzeichnis
Links
Postfix-Homepage und
Postfix Uni Bonn
Deutsche Postfix-Homepage
Alles über E-Mail und Mail-Befehle
Installation
# aptitude install postfix postfix-tls swaks
Konfiguration
postconf
Zeigt die Defaultwerte an
# postconf -d
Zeigt Abweichungen von den Defaulteinstellungen
# postconf -n
Postfix Werte
- maximal_queue_lifetime
Zeigt die Zeit, wie lange Postfix die Mails in der Queue behält, wenn Sie nicht zustellbar sind
- message_size_limit
Größe der Mail die angenommen wird
sasl
# aptitude install postfix-tls
# postconf -e 'smtpd_sasl_auth_enable = yes'
/etc/postfix/sasl/smtpd.conf
# pweck_method: saslauthd # mech_list: plain
/etc/default/saslauthd
#START=yes # PARAMS="-m /var/spool/postfix/var/run/saslauthd" # MECHANISMS="ldap"
Testen mit testsaslauthd -f /var/spool/postfix/var/run/saslauthd/mux -u [user] -p [passwort] /etc/postfix/main.cf
smtpd_sasl_auth_enable = yes
Kommandos
Mailqueue ansehen
- Allgemein mailq - Postfix postqueue -p -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- 964FA5618A* 1239 Wed Nov 11 10:05:23 noreply@example.org testuser1@example.de D65975615F* 1270 Wed Nov 11 10:04:20 noreply@example.org testuser2@example.de
Mailqueue neu triggern
postfix flush postqueue -f sendmail -q
Mails aus Mailqueue löschen
postsuper -d [queue_id]