From 609b4906d7603de5aa78e3f899427858de00206d Mon Sep 17 00:00:00 2001 From: julm Date: Mon, 9 Dec 2013 11:00:47 +0100 Subject: [PATCH] =?utf8?q?Modification=20:=20postfix=20:=20g=C3=A8re=20mie?= =?utf8?q?ux=20les=20+$EXTENSION=20dans=20virtual(5).?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- etc/postfix/main.cf | 4 +++- etc/sympa/virtual_alias | 10 ++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/etc/postfix/main.cf b/etc/postfix/main.cf index 056312e..802fa35 100644 --- a/etc/postfix/main.cf +++ b/etc/postfix/main.cf @@ -53,7 +53,7 @@ parent_domain_matches_subdomains = #smtpd_access_maps permit_mx_backup_networks = policy-spf_time_limit = 3600s -propagate_unmatched_extensions = canonical, virtual +propagate_unmatched_extensions = canonical, virtual, alias queue_minfree = 0 readme_directory = no #receive_override_options = no_address_mappings @@ -145,6 +145,8 @@ smtpd_recipient_restrictions = permit_sasl_authenticated reject_unverified_recipient # NOTE: $fallback_transport est garant de l'existence du destinataire + # ATTENTION: verify(8) tient un cache, consultable ainsi si verify(8) est stoppé : + # postmap -s btree:/var/lib/postfix/verify_cache 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:private/spfcheck diff --git a/etc/sympa/virtual_alias b/etc/sympa/virtual_alias index 7c67b3e..0d03f33 100644 --- a/etc/sympa/virtual_alias +++ b/etc/sympa/virtual_alias @@ -1,8 +1,2 @@ -/^(postmaster|root|abuse|sympa-request)@(cyclocoop\.org)$/ $2-$1 -/^(listmaster|sympa)@(cyclocoop\.org)$/ $2-$1 -/^(.*)-(request|editor|owner|subscribe|unsubscribe)@(cyclocoop\.org)$/ $3-$1-$2 -/^([^+]*)@(cyclocoop\.org)$/ $2-$1 -/^(postmaster|root|abuse|sympa-request)@(ptitvelo\.net)$/ $2-$1 -/^(listmaster|sympa)@(ptitvelo\.net)$/ $2-$1 -/^(.*)-(request|editor|owner|subscribe|unsubscribe)@(ptitvelo\.net)$/ $3-$1-$2 -/^([^+]*)@(ptitvelo\.net)$/ $2-$1 +/^([^@]+)@(cyclocoop\.org)$/ $2-$1 +/^([^@]+)@(ptitvelo\.net)$/ $2-$1 -- 2.20.1