This is a discussion on Re: per domain local_recipient_maps configuration within the mailing.postfix.users forums, part of the Mail Servers and Related category; But I'll have the same problem with virtual_alias_maps, if I use=20 several mysql:/etc/postfix/domain then all ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
But I'll have the same problem with virtual_alias_maps, if I use=20
several mysql:/etc/postfix/domain then all of them could be checked if=20= a given user doesn=B4t exists and what I need is that only the correct=20= domain DB will be checked. Regards: J.A El 03/02/2005, a las 18:59, Wietse Venema escribi=F3: > Jos=E9 Antonio Vivanco Martos: >> Hi: >> >> I have a postfix server with several mydestination domains. I have a >> separate table in my MySQL DB for each domain and I want to use a >> diferent lookup table with local_recipient_maps for each domain. >> >> Is it possible? > > mydestination =3D > # UNIX accounts and local aliases > localhost $myhostname $mydomain localhost.$mydomain ... > # SQL table with other domain names > mysql:/etc/postfix/mydestination > > local_recipient_maps =3D > # UNIX accounts and local aliases > unix:passwd.byname $alias_maps > # One SQL table per domain > mysql:/etc/postfix/example1.com mysql:/etc/postfix/example2.com = .... > > However, listing all domains in mydestination has serious limitations. > See: http://www.postfix.org/VIRTUAL_README.html for alternatives. > > Wietse > |