X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fpostfix%2Fmain.cf;h=58edb3e17101413c039c9d2974addecdea0c72a2;hb=b27661cf8e40872543f86a00922d18573ef83612;hp=68b34a40f94e3b14cee37feace70dc2402a4a904;hpb=61ac98ca6513d9941d235c782a1d9a48977a27fd;p=lhc%2Fateliers.git diff --git a/etc/postfix/main.cf b/etc/postfix/main.cf index 68b34a4..58edb3e 100644 --- a/etc/postfix/main.cf +++ b/etc/postfix/main.cf @@ -1,7 +1,11 @@ # DOC: http://postfix.traduc.org/index.php/TLS_README.html -alias_database = hash:/etc/postfix/aliases -alias_maps = hash:/etc/postfix/aliases +alias_database = + hash:/etc/postfix/aliases + hash:/etc/mail/sympa/aliases +alias_maps = + hash:/etc/postfix/aliases + hash:/etc/mail/sympa/aliases append_dot_mydomain = no # NOTE: appending .domain is the MUA's job. biff = no @@ -57,7 +61,9 @@ recipient_delimiter = + # NOTE: séparateur entre le nom d’utilisateur et les extensions d’adresse. #relayhost = relay_clientcerts = hash:/etc/postfix/$mydomain/smtpd/relay_clientcerts -relay_domains = $mydestination +relay_domains = + $mydestination + sympa.$mydomain # NOTE: ajouter les domaines pour lesquels on est backup MX ici, pas dans mydestination ou virtual_alias... smtp_body_checks = #smtp_cname_overrides_servername = no @@ -128,7 +134,7 @@ smtpd_recipient_restrictions = permit_sasl_authenticated reject_unauth_destination # NOTE: ne pas passer par SPFCheck / Postgrey si le mail n'est pas pour nous ou quelqu'un pour lequel on tient lieu de backup_mx - check_policy_service inet:127.0.0.1:10023 + check_policy_service unix:/run/postgrey/socket # NOTE: Postgrey (greylisting) check_policy_service unix:private/spfcheck permit_auth_destination @@ -180,6 +186,8 @@ smtpd_tls_security_level = may smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_tls_session_cache #smtpd_tls_session_cache_timeout = 3600s strict_rfc821_envelopes = yes +sympa_destination_recipient_limit = 1 +sympabounce_destination_recipient_limit = 1 #tls_high_cipherlist = AES256-SHA # NOTE: postconf(5) déconseille de changer ceci #tls_random_bytes = 32 @@ -189,10 +197,13 @@ strict_rfc821_envelopes = yes #tls_random_reseed_period = 3600s #tls_random_source = dev:/dev/urandom # NOTE: non-blocking -transport_maps = hash:/etc/postfix/$mydomain/transport +transport_maps = + hash:/etc/postfix/$mydomain/transport + #regexp:/etc/sympa/transport #virtual_alias_domains = virtual_alias_maps = hash:/etc/postfix/$mydomain/virtual_alias + #regexp:/etc/sympa/virtual_alias # NOTE: do not specify virtual alias domain names in the main.cf # mydestination or relay_domains configuration parameters. #