Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3765306
D849.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D849.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 11:38 (17 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2257375
Default Alt Text
D849.id.diff (2 KB)
Attached To
Mode
D849: Configure Sympa
Attached
Detach File
Event Timeline
Log In to Comment