After hours of playing around with this setup, I think I finally figured out a way to make Configuration 2 work.

 

./vaddaliasdomain mail.mydomain.com mydomain.com

 

Works beautifully, please ignore my ignorance. J

 

Shawn

 

-----Original Message-----
From: Shawn Delano [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 06, 2001 7:34 PM
To: [EMAIL PROTECTED]
Subject: problem with default-domain and ip-alias-domains

 

I’m having a problem with vpopmail 4.9.6-1 and virtual domain pop authentication. I’m looking for a solution that will actually work for the default domains and all domains. I’ve been successfully running vpopmail 4.6 with ip-alias-domains with no authentication problems, but I’m moving all mail for mydomain.com to the server now, and I want to have it as the primary domain. I’ll try to keep this short, but I’ll also try to explain everything in as much detail as possible. Here are the problems I’ve had with two different configurations:

 

Examples of DNS:

192.168.0.11 – mail.mydomain.com (forward and reverse match, actual name is mail.domain.com)

192.168.0.10 – main-server-ip.mydomain.com (forward and reverse match)

192.168.0.30 – myvdomain.com (forward and reverse match, reverse is domain.com, not mail.domain.com)

 

vpopmail directory structure:

myvdomain.com

mydomain.com

mail.mydomain.com symlinked to mydomain.com

 

Configuration 1: ./configure  --enable-default-domain=mydomain.com --enable-roaming-users=y --enable-ip-alias-domains=y --enable-apop=n --enable-passwd=n

 

I can telnet to the pop server on mail.mydomain.com and authenticate without the trailing domain name (%mydomain.com or @mydomain.com)

Ex: telnet mydomain.com 110 <server greeting>, user username <ok>, pass password <ok>.

 

I can telnet to the pop server on mail.myvdomain.com and authenticate WITH the trailing domain name, but not without it.

Example: user/pass does not work, user%domain/pass does work.

(Note: This worked beautifully before I added the default-domain configuration option)

 

 

Configuration 2: ./configure  --enable-roaming-users=y --enable-ip-alias-domains=y --enable-apop=n --enable-passwd=n

 

I can telnet to the pop server on mail.mydomain.com and authenticate with the trailing domain ([EMAIL PROTECTED]), but it will not work as only the username.

(Note for quick readers: the vpopmail mail.mydomain.com is symlinked to the actual mydomain.com folder, but the IP resolves to mail.mydomain.com)

 

I can telnet to the pop server on mail.myvdomain.com and authenticate without the trailing domain name.

 

 

I’ll quickly overview the problems with the two configurations:

1: default-domain is compiled in, only the default-domain can authenticate without a trailing %domain

2: default-domain is not compiled in, all domains but mydomain.com can authenticate without a trailing %domain because the ip for mydomain reverses to mail.mydomain instead of mydomain.

 

 

If anyone can help me out with a possible solution it would be greatly appreciated. I’ve recompiled this to try different options about 10 times now, but I wasn’t anywhere close to where I was with these two options. I’m figuring what I need is a way for default-domain to work with ip-alias-domains or a way for a symlinked folder to work with vpopmail (or a reason why it’s not working). Thanks in advance for any help you can offer.

 

Shawn

 

 

__________________________________________________________________________

Shawn Delano                                          [EMAIL PROTECTED]

Director of Technology                           [EMAIL PROTECTED]

Southern California Systems                       http://www.socalsys.com/

 

Reply via email to