Page MenuHomeDevCentral

D849.diff
No OneTemporary

D849.diff

Index: main.cf
===================================================================
--- main.cf
+++ main.cf
@@ -66,11 +66,23 @@
# virtual mailbox setups
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
-virtual_alias_maps = mysql:/etc/postfix/mysql/virtual_alias_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql/virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf
smtpd_relay_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client cbl.abuseat.org
+# Sympa + virtual
+virtual_alias_maps = mysql:/etc/postfix/mysql/virtual_alias_maps.cf, regexp:/etc/sympa/sympa-alias.virtual
+
+# Sympa
+transport_maps = regexp:/etc/postfix/transport_regexp
+
+sympalist_destination_recipient_limit = 1
+symparequest_destination_recipient_limit = 1
+sympaeditor_destination_recipient_limit = 1
+sympasubscribe_destination_recipient_limit = 1
+sympaunsubscribe_destination_recipient_limit = 1
+sympabounce_destination_recipient_limit = 1
+
# SPF
policy-spf_time_limit = 3600
Index: master.cf
===================================================================
--- master.cf
+++ master.cf
@@ -116,3 +116,15 @@
${nexthop} ${user}
policy-spf unix - n n - - spawn
user=nobody argv=/usr/bin/policyd-spf
+sympalist unix - n n - - pipe
+ flags=RF user=sympa argv=/var/lib/sympa/bin/queue ${user}@${extension}
+symparequest unix - n n - - pipe
+ flags=RF user=sympa argv=/var/lib/sympa/bin/queue ${user}-request@${extension}
+sympaeditor unix - n n - - pipe
+ flags=RF user=sympa argv=/var/lib/sympa/bin/queue ${user}-editor@${extension}
+sympasubscribe unix - n n - - pipe
+ flags=RF user=sympa argv=/var/lib/sympa/bin/queue ${user}-subscribe@${extension}
+sympaunsubscribe unix - n n - - pipe
+ flags=RF user=sympa argv=/var/lib/sympa/bin/queue ${user}-unsubscribe@${extension}
+sympabounce unix - n n - - pipe
+ flags=RF user=sympa argv=/var/lib/sympa/bin/bouncequeue ${user}@${extension}
Index: transport_regexp
===================================================================
--- /dev/null
+++ transport_regexp
@@ -0,0 +1,6 @@
+/^.*\@sympalist$/ sympalist:
+/^.*\@symparequest$/ symparequest:
+/^.*\@sympaeditor$/ sympaeditor:
+/^.*\@sympasubscribe$/ sympasubscribe:
+/^.*\@sympaunsubscribe$/ sympaunsubscribe:
+/^.*\@sympaowner$/ sympabounce:

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 06:06 (17 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2257375
Default Alt Text
D849.diff (2 KB)

Event Timeline