[Pkg-exim4-users] cannot connect to /var/run/saslauthd/mux
Marc Haber
mh+pkg-exim4-users at zugschlus.de
Sat Apr 14 10:15:42 UTC 2007
On Tue, Apr 03, 2007 at 10:07:24AM +0200, Nikolaus Rath wrote:
> I have added Debian-exim to the sasl group:
>
> [0] nelarikon:/etc/exim4/conf.d# groups Debian-exim
> Debian-exim : Debian-exim sasl
>
> The permissions for /var/run/saslauthd seem also correct:
>
> [0] nelarikon:/etc/exim4/conf.d# dir /var/run/saslauthd/
> total 12K
> drwx--x--- 2 root sasl 4.0K Apr 3 09:53 .
> drwxr-xr-x 15 root root 4.0K Apr 3 09:19 ..
> srwxrwxrwx 1 root root 0 Apr 3 09:53 mux
> -rw------- 1 root root 0 Apr 3 09:53 mux.accept
> -rw------- 1 root root 6 Apr 3 09:53 saslauthd.pid
>
> However, exim still produces this error:
>
> [0] nelarikon:~# exim4 -d+auth -bh 127.0.0.1
> Exim version 4.50 uid=0 gid=0 pid=22336 D=fbb95cfd
> [...]
> AUTH PLAIN [snip]
> SSMTP<< AUTH PLAIN [snip]
> host in smtp_accept_max_nonmail_hosts? yes (matched "*")
> Running saslauthd authentication for user ""
> saslauthd userid='' servicename='' realm=''
> Cannot connect to saslauthd daemon (at '/var/run/saslauthd/mux'): Permission denied
> saslauthd: query failed (cannot connect to saslauthd daemon at /var/run/saslauthd/mux: Permission denied)
> plain_saslauthd_server authenticator:
> $1 = \0user\0pass
> expansion failed: cannot connect to saslauthd daemon at /var/run/saslauthd/mux: Permission denied
> SMTP>> 435 Unable to authenticate at present
>
>
> When I change the permissions to "chmod 711 /var/run/saslauthd",
> everything works fine. So it seems that exim is not really running as
> user Debian-exim. Is there any way I can check this? (Yes, I restarted
> after adding Debian-exim to the sasl group).
This seems to be an issue in a later version of exim4 in sarge.
Updating to etch or taking exim 4.63 from backports.org seems to fix
the issue.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
More information about the Pkg-exim4-users
mailing list