Hello, I am using Simon Matters's Cyrus-Imap-2.2.4 rpm on Fedora. I have an interesting problem with virtual domains:
I get the following error on attempting to logon to the IMAP server as a user "[EMAIL PROTECTED]" for a virtual domain "korose.net": May 28 18:35:05 tux saslauthd: saslauthd[25717] :cache_get_rlock : attempting a read lock on slot: 1069 May 28 18:35:05 tux saslauthd: saslauthd[25717] :cache_lookup : [login=andrew] [service=korose.net] [realm=imap]: not found, update pending May 28 18:35:05 tux saslauthd: saslauthd[25717] :cache_un_lock : attempting to release lock on slot: 1069 May 28 18:35:06 tux imap(pam_unix)[25717]: check pass; user unknown May 28 18:35:06 tux imap(pam_unix)[25717]: authentication failure; logname=koros uid=0 euid=0 tty= ruser= rhost= May 28 18:35:08 tux saslauthd: saslauthd[25717] :do_auth : auth failure: [user=andrew] [service=imap] [realm=korose.net] [mech=pam] [reason=PAM auth error] May 28 18:35:08 tux saslauthd[25717]: do_auth : auth failure: [user=andrew] [service=imap] [realm=korose.net] [mech=pam] [reason=PAM auth error] However if I log in as "[EMAIL PROTECTED]@" it works but ofcourse the mailbox does not exist her is a log: May 28 18:40:52 tux saslauthd: saslauthd[25717] :cache_get_rlock : attempting a read lock on slot: 1414 May 28 18:40:52 tux saslauthd: saslauthd[25717] :cache_lookup : [EMAIL PROTECTED] [service=] [realm=imap]: not found, update pending May 28 18:40:52 tux saslauthd: saslauthd[25717] :cache_un_lock : attempting to release lock on slot: 1414 May 28 18:40:52 tux PAM_pgsql[25717]: (imap) user [EMAIL PROTECTED] authenticated. May 28 18:40:52 tux imap(pam_unix)[25717]: could not identify user (from getpwnam([EMAIL PROTECTED])) May 28 18:40:52 tux saslauthd: saslauthd[25717] :cache_get_wlock : attempting a write lock on slot: 1414 May 28 18:40:52 tux saslauthd: saslauthd[25717] :cache_commit : lookup committed May 28 18:40:52 tux saslauthd: saslauthd[25717] :cache_un_lock : attempting to release lock on slot: 1414 May 28 18:40:52 tux saslauthd: saslauthd[25717] :do_auth : auth success: [EMAIL PROTECTED] [service=imap] [realm=] [mech=pam] May 28 18:40:52 tux saslauthd: saslauthd[25717] :do_request : response: OK Here is my /etc/imapd.conf configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus sievedir: /var/lib/imap/sieve sendmail: /usr/sbin/sendmail hashimapspool: true sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN unixhierarchysep: yes autocreatequota: 20000 virtdomains: userid defaultdomain: tux.uunet.co.ke servername: tux.uunet.co.ke tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt Any ideas why and how I can solve this problem? -- Andrew Koros Systems Developer UUNET KENYA LTD 2nd Floor Parkside Towers Mombasa Road, Nairobi Tel: +254 20 69088618 Fax: +254 20 69088001 Email: [EMAIL PROTECTED] http://www.uunet.co.ke NOTICE: "The contents of this e-mail and any accompanying documentation is confidential and any use thereof, in whatever form, by anyone other than the addressee for whom it is intended, is strictly prohibited." |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | / / (_)__ __ ____ __ | | / /__/ / _ \/ // /\ \/ / | Freedom to | /____/_/_//_/\_,_/ /_/\_\ | Experiment |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- 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