help pls? imtest OK for localhost, fails for same box @ IP .... where to start looking?

Georg Gell georg_1 at have2.com
Fri Oct 7 02:58:46 EDT 2005



OpenMacNews schrieb:
> hi all,
> 
> testing my cyrus imap v 2.2.12 + sasl v 2.1.22, with:
> 
> 	% imtest -t "" -p imap -m plain -a my.admin -u testuser at testdomain.com 127.0.0.1
> 
> i CAN login successfully
> 
> log: -->
> 	Oct  6 22:24:24 devbox DMCYRUS/imaplocal[2012]: login: localhost [127.0.0.1] blakers PLAIN+TLS
> User logged in
> 
> BUT, if i change "localhost"-->"mail.testdomain.com", which is the SAME BOX, just the external
> IP, login fails:
> 
> 	imtest -t "" -p imap -m plain -a my.admin -u testuser at testdomain.com mail.testdomain.com
> 
> log: -->
> 	Oct  6 22:24:10 devbox DMCYRUS/imap[2010]: badlogin: mail.testdomain.com [10.0.0.6] PLAIN
> [SASL(-13): user not found: Password verification failed]
> 
> 
> 
> i'm going nuts trying to track down the problem ... from my understanding, these two should
> return the same result for the same box :-/
> 
> i'm GUESSING there's a config problem in imapd.conf, but for the life of me i dunno.
> 
> suggestions as to where to look?
> 
> thx!
> 
> richard

hi richard,

i have the same problem. The problem is the realm that cyrus adds to the
username. Am I correct that you have set virtdomains: yes?
watching the debug log, it looks like this:
imtest localhost:
login with username at servername.domain.com
imtest servername.domain.com:
login with username at domain.com
imtest servername.domain.com (from another machine):
login with username at servername.domain.com <-- I don't understand this
part! But since I know this behaviour I just accept it :(

Georg



More information about the Info-cyrus mailing list