Postfix

Aus Doku-Wiki
Zur Navigation springenZur Suche springen

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]

Policyd-weight

Konfiguration des Policyd-weight

Greylisting

Konfiguration von Greylisting

Mailgraph

Doku zu Mailgraph

PFlogsumm

Doku PFlogsumm