Cyrus Imap -> cannot connect to saslauthd server - IMAP
This is a discussion on Cyrus Imap -> cannot connect to saslauthd server - IMAP ; Please help!
I'm trying to get Cyrus Imap 2.1.16 to use shadow for authentication
throught Cyrus sasl 2.1.15. When I try to connect to POP3 or IMAP, I get
the following message in /var/log/messages:
Nov 20 20:08:50 farstarnet pop3d[1975]: cannot ...
-
Cyrus Imap -> cannot connect to saslauthd server
Please help!
I'm trying to get Cyrus Imap 2.1.16 to use shadow for authentication
throught Cyrus sasl 2.1.15. When I try to connect to POP3 or IMAP, I get
the following message in /var/log/messages:
Nov 20 20:08:50 farstarnet pop3d[1975]: cannot connect to saslauthd
server: No such file or directory
Nov 20 20:08:50 farstarnet pop3d[1975]: badlogin:
CPE00e02939dd6e-CM0000390fcc62.cpe.net.cable.rogers.com[67.60.21.209]
plaintext jfbilodeau SASL(-1): generic failure: checkpass failed
Sasl seems to work fine authenticating users with Postfix & SMTP, but
will not work with IMAP. Sasl does have read access to shadow.
>cat imapd.conf
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: root jfbilodeau
allowplaintext: yes
sasl_pwcheck_method: saslauthd
sendmail: /usr/sbin/sendmail
>cat 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/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0
imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
pop3s cmd="pop3d -s" listen="pop3s" prefork=0
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/imap/socket/lmtp" prefork=0
# this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/imap/socket/notify"
proto="udp" prefork=1
}
EVENTS {
# this is required
checkpoint cmd="ctl_cyrusdb -c" period=30
# this is only necessary if using duplicate delivery suppression
delprune cmd="ctl_deliver -E 3" at=0400
# this is only necessary if caching TLS sessions
tlsprune cmd="tls_prune" at=0400
}
Thanks!
J-F Bilodeau
-
Re: Cyrus Imap -> cannot connect to saslauthd server
in comp.mail.imap i read:
>I'm trying to get Cyrus Imap 2.1.16 to use shadow for authentication
>throught Cyrus sasl 2.1.15. When I try to connect to POP3 or IMAP, I
>get the following message in /var/log/messages:
>
>Nov 20 20:08:50 farstarnet pop3d[1975]: cannot connect to saslauthd
>server: No such file or directory
is saslauthd running? it would seem not.
>admins: root jfbilodeau
it's typically a mistake to make a normal mailbox an admin.
--
a signature
-
Re: Cyrus Imap -> cannot connect to saslauthd server
Fixed...
The problem was with the socket. Somehow (I think by accidently
installing an RPM), the socket for sasl was in var/state instead of
var/run, and that's why imap could not connect to it.
Thanks for your help!
J-F
those who know me have no need of my name wrote:
> in comp.mail.imap i read:
>
>
>>I'm trying to get Cyrus Imap 2.1.16 to use shadow for authentication
>>throught Cyrus sasl 2.1.15. When I try to connect to POP3 or IMAP, I
>>get the following message in /var/log/messages:
>>
>>Nov 20 20:08:50 farstarnet pop3d[1975]: cannot connect to saslauthd
>>server: No such file or directory
>
>
> is saslauthd running? it would seem not.
>
>
>>admins: root jfbilodeau
>
>
> it's typically a mistake to make a normal mailbox an admin.
>
Similar Threads
-
By Application Development in forum IMAP
Replies: 1
Last Post: 10-24-2007, 03:12 AM
-
By Application Development in forum IMAP
Replies: 0
Last Post: 11-01-2004, 07:25 PM
-
By Application Development in forum IMAP
Replies: 2
Last Post: 07-21-2004, 01:49 PM
-
By Application Development in forum IMAP
Replies: 0
Last Post: 07-08-2004, 02:27 PM
-
By Application Development in forum IMAP
Replies: 0
Last Post: 02-02-2004, 07:08 AM