(0001349)
|
user2
|
2015-01-27 13:28
|
|
By default Postfix/IMAP + AD does not quite work in ClearOS. Here are the necessary changes to get it going. In /etc/postfix/main.cf, change the following parameters:
virtual_alias_maps = $alias_maps, $virtual_maps
local_recipient_maps = proxy:unix:passwd.byname $alias_maps $virtual_alias_maps
The file should be "chattr-ed" since the ClearOS IMAP server won't like seeing virtual_alias_maps in that state. Normally, that line looks like:
virtual_alias_maps = $alias_maps, $virtual_maps, ldap:/etc/postfix/imap-aliases.cf, ldap:/etc/postfix/imap-groups.cf
Translation: Postfix is doing direct LDAP lookups for mail aliases and group distribution lists (e.g. sales -> dave, cindy, mike).
Normally, local_recipient_maps looks like:
local_recipient_maps = $alias_maps $virtual_alias_maps
By adding "proxy:unix:passwd.byname" (the default), Postfix will do a standard Posix/getent lookup, and that's fine in AD mode. |
|