Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

saslauthd : Permission denied after todays dist-upgrade

0 views
Skip to first unread message

Bengt Thure'e

unread,
Jun 15, 2004, 12:40:07 PM6/15/04
to
Hej

I did a apt-get dist-upgrade on my mail server this evening on my
mailserver which is based upon Sarge.

After this postfix can not connect to the saslauthd daemon anymore.
Has anyone else encountered the same problem?

I checked the /var/cache/apt/archives directory for the latest installed
packages:
mollie:/var/cache/apt/archives# ls -lart | tail
417982 Jun 11 08:45 nano_1.2.3-2_i386.deb
983520 Jun 12 11:21 libsnmp-base_5.1.1-2_all.deb
548116 Jun 12 11:22 fetchmail_6.2.5-8_i386.deb
150058 Jun 15 23:42 libsasl2-modules_2.1.18-4.1_i386.deb
110056 Jun 15 23:42 sasl2-bin_2.1.18-4.1_i386.deb
135794 Jun 15 23:42 libcyrus-imap-perl21_2.1.16-6_i386.deb

I did a dpkg -i libsasl2 sasl2 libcyrus to the earlier version, but this
did not help.

In the end I went back to the latest Sarge by doing another dist-upgrade.

Do anyone have any suggestions or advice on this issue?
I can send e-mails by using squirrelmail, but I need the saslauth to
confirm all users who wants to send by their e-mail clients.

Thanks in advance

/Bengt

I have postfix in chroot, and I also have two postfix queues with
mailscanner in between.

mollie:/etc/postfix/sasl# pwd
/etc/postfix/sasl
mollie:/etc/postfix/sasl# more smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login

mollie:/etc/postfix/sasl# ls -la /var/run/saslauthd
lrwxrwxrwx 1 root sasl 37 Jun 16 00:56
/var/run/saslauthd -> /var/spool/postfix/var/run/saslauthd/

mollie:/etc/postfix/sasl# ls -la /var/spool/postfix/var/run/saslauthd/
total 12
drwx--x--- 2 root sasl 4096 Jun 16 01:17 .
drwxr-xr-x 3 root root 4096 May 5 15:26 ..
srwxrwxrwx 1 root root 0 Jun 16 01:17 mux
-rw------- 1 root root 0 Jun 16 01:17 mux.accept
-rw------- 1 root root 6 Jun 16 01:17 saslauthd.pid

mollie:/etc/postfix/sasl# ps -eaf | grep saslau
root 12341 1 0 01:17 ? 00:00:00 /usr/sbin/saslauthd -a
shadow
root 12342 12341 0 01:17 ? 00:00:00 /usr/sbin/saslauthd -a
shadow
root 12343 12341 0 01:17 ? 00:00:00 /usr/sbin/saslauthd -a
shadow
root 12344 12341 0 01:17 ? 00:00:00 /usr/sbin/saslauthd -a
shadow
root 12345 12341 0 01:17 ? 00:00:00 /usr/sbin/saslauthd -a
shadow
root 13059 12991 0 01:31 pts/2 00:00:00 grep saslau


extract from /var/log/mail.log
Jun 16 01:32:02 mollie postfix/smtpd[13063]: connect from
unknown[192.168.20.2]
Jun 16 01:32:03 mollie postfix/smtpd[13063]: TLS connection established
from unknown[192.168.20.2]: TLSv1 with cipher DHE-RSA-AES256-SHA
(256/256 bits)
Jun 16 01:32:10 mollie postfix/smtpd[13063]: warning: SASL
authentication failure: cannot connect to saslauthd server: Permission
denied
Jun 16 01:32:10 mollie postfix/smtpd[13063]: warning: SASL
authentication failure: Password verification failed
Jun 16 01:32:10 mollie postfix/smtpd[13063]: warning:
unknown[192.168.20.2]: SASL PLAIN authentication failed
Jun 16 01:32:11 mollie postfix/smtpd[13063]: warning: SASL
authentication failure: cannot connect to saslauthd server: Permission
denied
Jun 16 01:32:11 mollie postfix/smtpd[13063]: warning:
unknown[192.168.20.2]: SASL LOGIN authentication failed

signature.asc

Bengt Thure'e

unread,
Jun 15, 2004, 12:50:08 PM6/15/04
to
Bengt Thure'e wrote:
> Hej
>
> I did a apt-get dist-upgrade on my mail server this evening on my
> mailserver which is based upon Sarge.
>
> After this postfix can not connect to the saslauthd daemon anymore.
> Has anyone else encountered the same problem?
>
Needed to do a
adduser postfix sasl
since postfix could not read the mux file.

More information can be found here:
http://archives.neohapsis.com/archives/postfix/2003-12/2059.html

signature.asc
0 new messages