Saslauthd connection problem

Craig Ringer craig at postnewspapers.com.au
Wed Oct 22 23:55:41 EDT 2003


> Well, after fixing the path to saslauthd I still can't connect.  My auth.log reports: 
> Oct 22 18:47:43 ophelia imap[18556]: cannot connect to saslauthd server: Connection refused

Odd. You don't have any firewalling rules configured that could affect 
this? My output looks much the same:

unix  2      [ ACC ]     STREAM     LISTENING     21488014 
8277/saslauthd      /var/run/saslauthd/mux

and I have no special config in /etc/cyrus.conf or /etc/imap.conf to 
tell imapd where to find saslauthd. Saslauthd is running as
	'saslauthd -a pam'
with no other arguments.

> Which is odd.  I checked to make sure that saslauthd is listening, and it appears to be:
> [guildencrantz at ophelia mux]$ netstat -nalp | grep saslauthd
> (No info could be read for "-p": geteuid()=500 but you should be root.)
> unix  2      [ ACC ]     STREAM     LISTENING     106088 -                   /var/run/saslauthd/mux
> 
> /etc/imapd.conf is as follows:
> configdirectory: /var/imap
> partition-default: /var/spool/imap
> admins: root cyrus guildencrantz

You should probably not list yourself as an admin if that's your normal 
mail account, as it appears to be given your From: address. As the 
documentation suggests, being an admin lets you create folders anywhere, 
and may confuse other clients. I made this mistake when first learning 
about Cyrus, and had mozilla create '/var/spool/imap/Sent' etc because 
it misdetected the IMAP namespace. Most irritating.






More information about the Info-cyrus mailing list