This is a discussion on virtual domain config? within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi there, I am a bit confused about configuring virtual domain support within qmail. Given the following scenario: I have ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi there, I am a bit confused about configuring virtual domain support within qmail. Given the following scenario: I have a host with a public IP, wich has the FQDN "host.test.org". But my eMail domain should be "example.com", I've already configured an MX record pointing to "host.example.com". When using the qmail config script, it generates a configuration for "host.test.org", which I don't want. My question is, how or rather where do I have to make qmail responsible for sending and receiving eMails for domain "example.com" only? Can anyone shed some light on that issue? Thanks in advance. Cheers, JR |
|
|||
|
Jan Richter wrote:
> Hi there, > > I am a bit confused about configuring virtual domain > support within qmail. Given the following scenario: > I have a host with a public IP, wich has the FQDN > "host.test.org". But my eMail domain should be > "example.com", I've already configured an MX record > pointing to "host.example.com". When using the qmail > config script, it generates a configuration for > "host.test.org", which I don't want. > My question is, how or rather where do I have to make > qmail responsible for sending and receiving eMails > for domain "example.com" only? > Can anyone shed some light on that issue? > > Thanks in advance. > > Cheers, > JR > > qmail does not in itself have a config script. This is part of a package you installed. In order for qmail to provide virtual domain handling capabilities you need to do the following: 1: add the domain into the virtualdomains file 2: add the domain into the rcpthosts file 3:either define the virtualdomain email addresses in the with the qmail-users file or use fastforward. If you have not done so thus far, have a look at the lifewithqmail.org site for guidance. Unfortunately, you only provided what you want to achieve and nothing on what your setup is like. Are you using a centralized user management mechanicm, NIS, NIS+, LDAP, etc. AK |
|
|||
|
"AK" <aktrader2@excite.com> wrote: [...] > qmail does not in itself have a config script. This is part of a > package you installed. > > In order for qmail to provide virtual domain handling capabilities you > need to do the following: > 1: add the domain into the virtualdomains file > 2: add the domain into the rcpthosts file > 3:either define the virtualdomain email addresses in the with the > qmail-users file or use fastforward. Thanks so far, that helps me understanding the configuration. > If you have not done so thus far, have a look at the lifewithqmail.org > site for guidance. > > Unfortunately, you only provided what you want to achieve and nothing on > what your setup is like. Are you using a centralized user management > mechanicm, NIS, NIS+, LDAP, etc. No, I won't use a centralized user management system, I just use the native Unix schema. > AK Cheers, JR |
|
|||
|
Jan Richter wrote:
> "AK" <aktrader2@excite.com> wrote: > > [...] > > >>qmail does not in itself have a config script. This is part of a >>package you installed. >> >>In order for qmail to provide virtual domain handling capabilities you >>need to do the following: >>1: add the domain into the virtualdomains file >>2: add the domain into the rcpthosts file >>3:either define the virtualdomain email addresses in the with the >>qmail-users file or use fastforward. > > > Thanks so far, that helps me understanding the configuration. > > >>If you have not done so thus far, have a look at the lifewithqmail.org >>site for guidance. >> >>Unfortunately, you only provided what you want to achieve and nothing on >>what your setup is like. Are you using a centralized user management >>mechanicm, NIS, NIS+, LDAP, etc. > > > No, I won't use a centralized user management system, I just use the native > Unix schema. > > >>AK > > > Cheers, > JR > > The native unix schema only deals with local users, you would need to use virtualdomains and fastforward to map virtual address to valid localusers. Check out lifewithqmail.org AK |