Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howtos:kolab:configuration:postfix [2014/08/21 12:31] (current)
dmorlock Update external wiki for Kolab 3.2
Line 1: Line 1:
 +====== Postfix ====== 
 +===== Catch All ===== 
 +  * To support catch-all email addresses, create a new virtul alias maps using ''​virtual_alias_maps.cf''​ as template: 
 +<code bash> 
 +$ cd /​etc/​postfix/​ldap 
 +$ cp virtual_alias_maps.cf virtual_alias_maps_catchall.cfg 
 +</​code>​ 
 +  * Edit the ''​query_filter''​ parameter accordingly:​ 
 +<file bash /​etc/​postfix/​ldap/​virtual_alias_maps_catchall.cfg>​ 
 +... 
 +query_filter = (&​(alias=catchall@%d)(objectclass=kolabinetorgperson)) 
 +... 
 +</​file>​ 
 +  * Append to the ''​virtual_alias_maps'':​ 
 +<file bash /​etc/​posfix/​main.cf>​ 
 +... 
 +virtual_alias_maps = $alias_maps,​ ldap:/​etc/​postfix/​ldap/​virtual_alias_maps.cf,​ldap:/​etc/​postfix/​ldap/​virtual_alias_maps_sharedfolders.cf,​ldap:/​etc/​postfix/​ldap/​mailenabled_distgroups.cf,​ ldap:/​etc/​postfix/​ldap/​mailenabled_dynamic_distgroups.cf,​ldap:/​etc/​postfix/​ldap/​virtual_alias_maps_catchall.cf 
 +... 
 +</​file>​ 
 +  * After reloading Postfix, you can add a ''​catchall@<​domain>''​ address to any user you want.