I think 'virtdomains:' and 'defaultdomain:' are broken...

Adi Linden adil at adis.on.ca
Fri Oct 22 22:45:31 EDT 2004


Ok, this is weird. I finally have things working alright on my
Debian/Sarge box. The only thing I built from source is cyrus-imapd-2.2.8,
everything else are Debian packages. I am using pam-mysql and saslauthd
(with -r) to authenticate users.

Scenario 1:

  My imapd.conf has virtdomains configured but no default domain. I can
  authenticate fine as 'fred at example.com' but 'fred' alone fails. Just as
  expected and everything is fine.

  My sql log shows that 'fred at example.com' and 'fred' are used as
  usernames correctly when each respective name attempts login. Again,
  exactly as I would have expected.

Scenario 2:

  My imapd.conf has virtdomains configured and the defaultdomain is set to
  example.com. I cannot authenticate as 'fred at example.com' nor can I
  authenticate as 'fred'.

  My sql log shows that 'fred' is used for both attempts. I would have
  expected that 'fred at example.com' would have been used.

  My maillog on the other hand shows this when I try to login as user
  'fred at example.com', for some reason it is not taking the domain along.

    Oct 22 21:42:04 yoda imapd/imap[20228]: badlogin: localhost.localdomain [127.0.0.1] plaintext fred SASL(-13): authentication failure: checkpass failed

  Even though my login with 'fred' doesn't succeed either, there is no log
  entry from imap that a login attempt happened.

Any ideas?

Thanks,
Adi
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list