LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   cyrus NO Login failed: authentication failure (https://www.linuxquestions.org/questions/linux-enterprise-47/cyrus-no-login-failed-authentication-failure-375586/)

nobu 10-21-2005 07:59 PM

cyrus NO Login failed: authentication failure
 
I have been struggling to set-up a web/mail server in redhat rhel4. Since I am a pretty much newbie in server administration, my question may sound a little stupid. So forgive me.

I have created a user account by doing:

in /etc/mail/virtusertable. I add
info@mydomainname myuser

run the commond
makemap dbm /etc/mail/virtusertable < virtusertable

create a mailbox by
cyradm --user cyrus –auth plain localhost
cm user.myuser
quit

set a passwd for the user by
saslpasswd2 user.myuser
password xxxx
password xxxx

When I try to check an account(in case of imap), I get following error:
imtest -a myuser -m login -p imap -v localhost
S: * OK localhost.localdomain Cyrus IMAP4 v2.2.10-Invoca-RPM-2.2.10-1.RHEL4.1 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS LISTEXT LIST-SUBSCRIBED X-NETSCAPE
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN myuser {6}
S: + go ahead
C: <omitted>
S: L01 NO Login failed: authentication failure
Authentication failed. generic failure
Security strength factor: 0


When I try to check an accont(in case of pop3), I get following error:
[root@localhost ~]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK localhost.localdomain Cyrus POP3 v2.2.10-Invoca-RPM-2.2.10-1.RHEL4.1 server ready <4090239478.1129942609@localhost.localdomain>
user myuser
+OK Name is a valid mailbox
pass sdflkj
-ERR [AUTH] Invalid login

In both case, I get invalid login error.

Could someone direct me to a right direction?

Alien Bob 10-23-2005 06:04 AM

Is your saslauthd running?

Run
Code:

chkconfig --list saslauthd
to verify that it is started at boot time.

Eric

nobu 10-24-2005 10:59 AM

cyrus NO Login failed: authentication failure
 
Yes, saslauthd is running.

nobu 10-24-2005 12:32 PM

cyrus NO Login failed: authentication failure
 
The strange thing is that I can login by using unix username and password. Is this normal?

Alien Bob 10-24-2005 03:24 PM

My /etc/imapd.conf contains (amongst others of course):
Code:

sasl_pwcheck_method: saslauthd
sasl_mech_list: pam


nobu 10-24-2005 04:57 PM

cyrus NO Login failed: authentication failure
 
Hi,

My imapd.conf had following. I have also tried pam, but didn't work. I am completely stuck.

sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN

nobu 10-24-2005 08:15 PM

cyrus NO Login failed: authentication failure
 
Would that be any difference if I have virtual domains?

thanks


All times are GMT -5. The time now is 11:48 AM.