4
modifications
(→Réglages de Dovecot Postfix et Amavis : Clarification "postconf -e") |
|||
Ligne 1 378 : | Ligne 1 378 : | ||
-o smtpd_tls_wrappermode=yes | -o smtpd_tls_wrappermode=yes | ||
-o smtpd_sasl_auth_enable=yes | -o smtpd_sasl_auth_enable=yes | ||
</code> | |||
Modifions aussi le fichier /etc/postfix/master.cf, on y ajoute | |||
<code> | |||
# SASL parameters | |||
# --------------------------------- | |||
# Use Dovecot to authenticate. | |||
smtpd_sasl_type = dovecot | |||
# Referring to /var/spool/postfix/private/auth | |||
smtpd_sasl_path = private/auth | |||
smtpd_sasl_auth_enable = yes | |||
broken_sasl_auth_clients = yes | |||
smtpd_sasl_security_options = noanonymous | |||
smtpd_sasl_local_domain = | |||
smtpd_sasl_authenticated_header = yes | |||
# TLS parameters | |||
# --------------------------------- | |||
# Replace this with your SSL certificate path if you are using one. | |||
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem | |||
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key | |||
# The snakeoil self-signed certificate has no need for a CA file. But | |||
# if you are using your own SSL certificate, then you probably have | |||
# a CA certificate bundle from your provider. The path to that goes | |||
# here. | |||
#smtpd_tls_CAfile=/path/to/ca/file | |||
smtpd_use_tls=yes | |||
smtp_tls_security_level = may | |||
smtpd_tls_security_level = may | |||
#smtpd_tls_auth_only = no | |||
smtp_tls_note_starttls_offer = yes | |||
smtpd_tls_loglevel = 1 | |||
smtpd_tls_received_header = yes | |||
smtpd_tls_session_cache_timeout = 3600s | |||
tls_random_source = dev:/dev/urandom | |||
#smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache | |||
#smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache | |||
</code> | </code> | ||
modifications