[vhffs-dev] [1239] Added splitted conf for Exim. |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1239
Author: beuss
Date: 2008-07-28 15:04:05 +0200 (Mon, 28 Jul 2008)
Log Message:
-----------
Added splitted conf for Exim.
Added Paths:
-----------
trunk/vhffs-doc/config/exim4-mx1/350_vhffs-virtual_boxes-router
trunk/vhffs-doc/config/exim4-mx1/351_vhffs-forwards-router
trunk/vhffs-doc/config/exim4-mx1/352_vhffs-lists-router
trunk/vhffs-doc/config/exim4-mx1/40_vhffs-lists-transport
trunk/vhffs-doc/config/exim4-mx1/40_vhffs-vhffs_local-transport
Added: trunk/vhffs-doc/config/exim4-mx1/350_vhffs-virtual_boxes-router
===================================================================
--- trunk/vhffs-doc/config/exim4-mx1/350_vhffs-virtual_boxes-router (rev 0)
+++ trunk/vhffs-doc/config/exim4-mx1/350_vhffs-virtual_boxes-router 2008-07-28 13:04:05 UTC (rev 1239)
@@ -0,0 +1,8 @@
+# Use vhffs_local transport if current mail
+# is handled by a VHFFS box.
+
+vhffs_local:
+ debug_print = "R: vhffs_local for $local_part@$domain"
+ driver = accept
+ domains = VHFFS_VIRTUAL_LOCAL_DOMAINS
+ transport = vhffs_local
Added: trunk/vhffs-doc/config/exim4-mx1/351_vhffs-forwards-router
===================================================================
--- trunk/vhffs-doc/config/exim4-mx1/351_vhffs-forwards-router (rev 0)
+++ trunk/vhffs-doc/config/exim4-mx1/351_vhffs-forwards-router 2008-07-28 13:04:05 UTC (rev 1239)
@@ -0,0 +1,8 @@
+# Router for addresses handled as forwards in VHFFS.
+
+vhffs_forward:
+ debug_print = "R: vhffs_forward for $local_part@$domain"
+ driver = redirect
+ qualify_preserve_domain = true
+ data = VHFFS_FORWARD_ADDRESS
+
Added: trunk/vhffs-doc/config/exim4-mx1/352_vhffs-lists-router
===================================================================
--- trunk/vhffs-doc/config/exim4-mx1/352_vhffs-lists-router (rev 0)
+++ trunk/vhffs-doc/config/exim4-mx1/352_vhffs-lists-router 2008-07-28 13:04:05 UTC (rev 1239)
@@ -0,0 +1,11 @@
+vhffs_list:
+ debug_print = "R: vhffs_list for $local_part@$domain"
+ driver = accept
+ domains = VHFFS_ML_EXISTS
+ transport = vhffs_list
+
+vhffs_list_request:
+ driver = accept
+ local_part_suffix = -request
+ condition = VHFFS_ML_EXISTS
+ transport = vhffs_list_request
Added: trunk/vhffs-doc/config/exim4-mx1/40_vhffs-lists-transport
===================================================================
--- trunk/vhffs-doc/config/exim4-mx1/40_vhffs-lists-transport (rev 0)
+++ trunk/vhffs-doc/config/exim4-mx1/40_vhffs-lists-transport 2008-07-28 13:04:05 UTC (rev 1239)
@@ -0,0 +1,13 @@
+vhffs_list:
+ driver = pipe
+ command = VHFFS_LISTENGINE_SCRIPT bounce ${lc:$local_part} ${lc:$domain}
+ current_directory = VHFFS_LISTENGINE_HOME
+ user = VHFFS_LISTENGINE_UID
+
+vhffs_list_request:
+ driver = pipe
+ command = VHFFS_LISTENGINE_SCRIPT request ${lc:$local_part} ${lc:$domain}
+ current_directory = VHFFS_LISTENGINE_HOME
+ home_directory = VHFFS_LISTENGINE_HOME
+ user = VHFFS_LISTENGINE_UID
+ group = VHFFS_LISTENGINE_GID
Added: trunk/vhffs-doc/config/exim4-mx1/40_vhffs-vhffs_local-transport
===================================================================
--- trunk/vhffs-doc/config/exim4-mx1/40_vhffs-vhffs_local-transport (rev 0)
+++ trunk/vhffs-doc/config/exim4-mx1/40_vhffs-vhffs_local-transport 2008-07-28 13:04:05 UTC (rev 1239)
@@ -0,0 +1,15 @@
+# Local delivery for VHFFS handled boxes.
+# Box directory is fetched using a SQL query
+# on the VHFFS database.
+
+vhffs_local:
+ driver = appendfile
+ directory = VHFFS_VIRTUAL_LOCAL_DIR
+ maildir_format
+ user = Debian-exim
+ group = Debian-exim
+ mode = 0666
+ directory_mode = 0700
+# Can be used for quotas
+ maildir_use_size_file
+