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; Jos=E9 Antonio Vivanco Martos: > Hi: >=20 > I have a postfix server with several mydestination domains. I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Jos=E9 Antonio Vivanco Martos:
> Hi: >=20 > I have a postfix server with several mydestination domains. I have a=20 > separate table in my MySQL DB for each domain and I want to use a=20 > diferent lookup table with local_recipient_maps for each domain. >=20 > Is it possible? mydestination =3D=20 # UNIX accounts and local aliases localhost $myhostname $mydomain localhost.$mydomain ...=20 # SQL table with other domain names mysql:/etc/postfix/mydestination local_recipient_maps =3D=20 # UNIX accounts and local aliases unix:passwd.byname $alias_maps=20 # 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 |