HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   postfix domains alias (http://www.howtoforge.com/forums/showthread.php?t=11119)

alxgomz 5th March 2007 12:53

postfix domains alias
 
Hy all!

I have a working setup of postfix with virtual domains and domain alias. Until now everything was stored in flat files (hash lookups) and I recently moved to an LDAP backend where I store my virtual domains, mailboxes and local aliases. I would like use LDAP for domains aliases too, meaning that every existing address in a "main" domain (eg: user1@domain.com) should be redirected to the same localpart in the alias domain (eg user1@domain.net).
With Flat files I acheived this behaviour by using "virtual_alias_domains = hash:/myfile/with/alias_maps"

and /myfile/with/alias_maps was something like:
@domain.com @domain.net

Does anybody knows how to make it work with LDAP (or even mysql would maybe help me)


All times are GMT +2. The time now is 21:10.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.