*** I had done that, but here goes again.... ***----- Original Message ----- From: "John Gibson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 10, 2004 10:03 AM Subject: Configuration help for auxprop/sasldb authentication
My objective is to authenticate and login using the imap admin user. I
would like to use what (I thought) would be the easiest configuration.
All users and passwords would be contained in a Berkeley db. The IMAP
server would verify user/pass against entries in that database.
If using the auprop method, the easiest I have found, users are autheticated against /etc/sasldb2. Users, (including admin user who also has a system account) are created by, saslpasswd2 -c $username
[EMAIL PROTECTED] RPMS]# ls /etc/sasl* /etc/sasldb2 [EMAIL PROTECTED] RPMS]# rm /etc/sasldb2 rm: remove regular file `/etc/sasldb2'? y [EMAIL PROTECTED] RPMS]# saslpasswd2 -c rat Password: Again (for verification): [EMAIL PROTECTED] RPMS]# ls /etc/sasl* /etc/sasldb2 [EMAIL PROTECTED] RPMS]# chown cyrus /etc/sasldb2 [EMAIL PROTECTED] RPMS]# strings /etc/sasldb2 Rat_F1nk apollo userPassword [EMAIL PROTECTED] RPMS]# saslpasswd2 -c dog Password: Again (for verification): saslpasswd2: passwords don't match; aborting [EMAIL PROTECTED] RPMS]# saslpasswd2 -c dog Password: Again (for verification): [EMAIL PROTECTED] RPMS]# saslpasswd2 -c cat Password: Again (for verification): [EMAIL PROTECTED] RPMS]# strings /etc/sasldb2 Rat_F1nk apollo userPassword mice apollo userPassword mutt apollo userPassword [EMAIL PROTECTED] RPMS]#
*** from auth.log during saslpasswd2 execution***
Mar 10 15:16:26 apollo saslpasswd2: error deleting entry from sasldb: DB_NOTFOUND: No matching key/data pair found
Mar 10 15:19:30 apollo last message repeated 3 times
Mar 10 15:20:34 apollo last message repeated 3 times
Postfix will be my MTA, but I havn't set it up yet. I have been working on the IMAP/POP server component.I understand that the /etc/imapd.conf can be the single source of
configuration for the IMAP server (including SASL configuration). Is
not for a Cyrus-IMAP. /etc/cyrus.conf (With SuSE 8.2 rpms). What is handling SMTP?
Al
Thank you for pointing these out, Al.
Sorry... This is my /etc/cyrus.conf file.
[EMAIL PROTECTED] RPMS]# cat /etc/cyrus.conf # standard standalone server implementation
START { # do not delete this entry! recover cmd="ctl_cyrusdb -r"
# this is only necessary if using idled for IMAP IDLE # idled cmd="idled" }
# UNIX sockets start with a slash and are put into /var/lib/imap/sockets SERVICES { # add or remove based on preferences # imap cmd="imapd" listen="imap" prefork=5 imaps cmd="imapd -s" listen="imaps" prefork=1 # pop3 cmd="pop3d" listen="pop3" prefork=3 pop3s cmd="pop3d -s" listen="pop3s" prefork=1 # sieve cmd="timsieved" listen="sieve" prefork=0
# at least one LMTP is required for delivery # lmtp cmd="lmtpd" listen="lmtp" prefork=0 lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
}
EVENTS { # this is required checkpoint cmd="ctl_cyrusdb -c" period=30 } [EMAIL PROTECTED] RPMS]#
--- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html