Auth issues
Warrick FitzGerald
subs.cyrus.wfitzgerald at crtman.com
Thu Nov 4 12:52:38 EST 2004
Hi All,
I'm trying to use the imapcreate tool, but I keep getting an AUTH errror
when doing so.
This is the error I get.
hostt at livemail1 maps]# imapcreate -u wfitzgerald -m user.wayne at test.com
localhost
IMAP Password:
Permission denied at /usr/bin/imapcreate line 72.
I can however log into the server using the cyradm tool (but for some
reason I need to enter my password twice ?):
[root at livemail1 maps]# cyradm --user wfitzgerald localhost --auth PLAIN
Password:
IMAP Password:
I suspect that it has something to do with my Auth setup, but I dont
know what.
[root at livemail1 maps]# cat /etc/imapd.conf
configdirectory: /var/lib/imap
partition-default: /home/imap_root
admins: wfitzgerald
allowanonymouslogin: no
sieveusehomedir: 0
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
tls_cert_file: /etc/ssl/cyrus-imapd/cyrus-imapd.pem
tls_key_file: /etc/ssl/cyrus-imapd/cyrus-imapd.pem
sasl_pwcheck_method: saslauthd
defaultdomain: guff.com
virtdomains: yes
SASL is using pam, and my pam file looks like this:
[root at livemail1 maps]# cat /etc/pam.d/imap
#%PAM-1.0
auth optional pam_stack.so service=system-auth
auth optional pam_mysql.so user=root passwd=pqlbt5lin db=mail
table=accountuser usercolumn=username passwdcolumn=password
account optional pam_mysql.so user=root passwd=pqlbt5lin db=mail
table=accountuser usercolumn=username passwdcolumn=password
account optional pam_stack.so service=system-auth
Thanks
Warrick
---
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