Postfix: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 31: Zeile 31:
 
inet_protocols = ipv4
 
inet_protocols = ipv4
 
<pre>
 
<pre>
 +
=auswahl der postfix kommandos
 +
*postfix status
 +
*postfix start
 +
*postfix stop
 +
*postfix reload
 +
*postfix check

Version vom 11. Dezember 2014, 12:18 Uhr

vorarbeiten

  • mkdir -p /etc/skel/Maildir/{cur,new,tmp}

installation

  • apt-get install postfix

spätere grundkonfiguration

  • dpkg-reconfigure -p low postfix

wir wählen Internet-Site

/etc/postfix/main.cf

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = maria.xinux.org
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = maria.xinux.org, localhost.xinux.org, , localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = ipv4
=auswahl der postfix kommandos
*postfix status
*postfix start
*postfix stop
*postfix reload
*postfix check