[Pkg-exim4-users] cannot connect to /var/run/saslauthd/mux

Nikolaus Rath Nikolaus at rath.org
Tue Apr 3 08:07:24 UTC 2007


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
Exim version 4.50 uid=0 gid=0 pid=22336 D=fbb95cfd
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).

Or am I missing something very obvious?

Thanks in advance,

"de.alt.comp.kde    Dumm und trotzdem UNIX verwenden? KDE ist die Loesung."
                    Sven Paulus in <67hu21$43r$1 at imperator.oops.sub.de>

More information about the Pkg-exim4-users mailing list