Postfix/Dovecot ohne LDAP: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „==/etc/postfix/master.cf anfügen== <pre> smtps inet n - y - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_ena…“)
 
Zeile 5: Zeile 5:
 
   -o smtpd_sasl_auth_enable=yes
 
   -o smtpd_sasl_auth_enable=yes
 
   -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
 
   -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
 +
</pre>
 +
==/etc/postfix/maind.cf anfügen==
 +
<pre>
 +
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
 +
biff = no
 +
append_dot_mydomain = no
 +
readme_directory = no
 +
 +
# TLS-Einstellungen
 +
smtpd_tls_cert_file = /etc/ssl/certs/star.lab34.linuggs.de.crt
 +
smtpd_tls_key_file = /etc/ssl/private/star.lab34.linuggs.de.key
 +
smtpd_tls_security_level = may
 +
smtpd_tls_received_header = yes
 +
smtp_tls_CApath = /etc/ssl/certs
 +
smtp_tls_security_level = may
 +
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
 +
 +
# SMTP-Einstellungen
 +
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination
 +
myhostname = mail.lab34.linuggs.de
 +
alias_maps = hash:/etc/aliases
 +
alias_database = hash:/etc/aliases
 +
myorigin = /etc/mailname
 +
mydestination = $myhostname, localhost.localdomain, 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 = all
 +
 +
# Mailbox-Speicherort
 +
home_mailbox = mbox
 +
 
</pre>
 
</pre>

Version vom 5. Oktober 2024, 11:37 Uhr

/etc/postfix/master.cf anfügen

smtps     inet  n       -       y       -       -       smtpd
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject

/etc/postfix/maind.cf anfügen

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = no

# TLS-Einstellungen
smtpd_tls_cert_file = /etc/ssl/certs/star.lab34.linuggs.de.crt
smtpd_tls_key_file = /etc/ssl/private/star.lab34.linuggs.de.key
smtpd_tls_security_level = may
smtpd_tls_received_header = yes
smtp_tls_CApath = /etc/ssl/certs
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# SMTP-Einstellungen
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination
myhostname = mail.lab34.linuggs.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, localhost.localdomain, 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 = all

# Mailbox-Speicherort
home_mailbox = mbox