On Saturday 30 May 2015 9:34:44 AM Michael Neumann wrote: > Am 30.05.2015 um 13:43 schrieb John McMonagle: > > > > Michael > > Thanks that works. > > > > Now maps in /etc/aliases are not working. > > I have aliases in ldap that are working. > > > > Read http://www.postfix.org/LOCAL_RECIPIENT_README.html > > Sounds like need local_recipient_maps. > > It already existed and has hash:/etc/aliases. > > > > These are may maps: > > #maps > > alias_maps = hash:/etc/aliases > > alias_database = hash:/etc/aliases > > virtual_alias_maps = hash:/etc/postfix/virtual, > > ldap:/etc/postfix/ldapdistlist.cf, > > ldap:/etc/postfix/ldapvirtual.cf, > > ldap:/etc/postfix/ldap-aliases.cf > > #relocated_maps = hash:/etc/postfix/relocated > > transport_maps = ldap:/etc/postfix/ldaptransport.cf > > #virtual_mailbox_maps = $virtual_alias_maps > > local_recipient_maps = $virtual_alias_maps, $alias_maps, > > hash:/etc/postfix/local-accounts > > > > Just add hash:/etc/aliases to virtual_alias_maps ? > > Yes, we have it there too. Please consider that only mail address > aliases will work, a pipe to a command, that is normally possible in > /etc/aliases, wont work anymore (because you redefined the local_transport). > > Best regards > Thanks
Adding hash:/etc/aliases to virtual_alias_maps worked :-) Do not have any code in aliases. John
---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus