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?
|