Correction : postgrey : socket dans le chroot de postfix.
[lhc/ateliers.git] / etc / postfix / main.cf
index 4129e41..b5d3da3 100644 (file)
@@ -31,7 +31,8 @@ maximal_queue_lifetime = 5d
 message_size_limit = 20480000
 mime_header_checks =
 milter_header_checks =
-mynetworks = 127.0.0.0/8 #, [::1]/128
+mynetworks = 127.0.0.0/8
+       #[::1]/128
 nested_header_checks =
 non_smtpd_milters =
 parent_domain_matches_subdomains =
@@ -133,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 unix:/run/postgrey/socket
+       check_policy_service unix:postgrey/socket
                # NOTE: Postgrey (greylisting)
        check_policy_service unix:private/spfcheck
        permit_auth_destination
@@ -158,7 +159,7 @@ smtpd_sender_restrictions =
        reject_unauth_pipelining
        reject_non_fqdn_sender
        #reject_unknown_sender_domain
-       reject
+       permit
 smtpd_starttls_timeout = 300s
 #smtpd_tls_always_issue_session_ids = yes
 smtpd_tls_CAfile = /etc/postfix/$mydomain/smtpd/x509/ca/crt.pem
@@ -204,6 +205,7 @@ transport_maps =
 virtual_alias_maps =
        hash:/etc/postfix/$mydomain/virtual_alias
        hash:/etc/postfix/$mydomain/virtual_alias-pending-transition-from-lautrenet
+       hash:/etc/postfix/cyclocoop.org/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.