I spoke too soon. While my new Ubuntu Dapper Web-cyradm system is receiving,
sorting, and delivering mail to mailboxes correctly, I cannot send email from
the server.

Here is what I know. Postfix is not running chrooted (I think), and the smtpd
line in main.cf looks like this:

                      chroot
                       (yes)
========================v==================
smtp    inet   n    -   n   -    -    smtpd

That is why I think it is not chrooted. In fact every entry in that column is
"n".

When I start saslauthd from /etc/init.d/saslauthd start, auth.log contains this:
May  2 21:51:58 lazarus saslauthd[7274]: detach_tty      : master pid is: 7274
May  2 21:51:58 lazarus saslauthd[7274]: ipc_init        : listening on socket:
/var/run/saslauthd/mux

OK. It seems that saslauthd (this is Cyrus-sasl2.2) is running, and if I

rootuser# testsaslauthd -u cyrus -p password
0: OK "Success."

As can be seen from auth.log, the saslauthd mux file is located in the directory
/var/run/saslauthd/. Also in this directory are mux.accept and saslauthd.pid.
The mux file is owned by root.root 777. The other files are root.root 600.

When I try to send mail from a remote client (Netscape Communicator) I get the
password auth dialog box, and I enter the name of a user and password that I
can successfully pick up email for. The dialog repeats endlessly, so it is
obviously failing. The mail.log file on my server has these entries:

May  2 21:25:03 lazarus postfix/smtpd[6091]: warning: SASL authentication
failure: cannot connect to saslauthd server: Permission denied
May  2 21:25:03 lazarus postfix/smtpd[6091]: warning: SASL authentication
failure: Password verification failed
May  2 21:25:03 lazarus postfix/smtpd[6091]: warning:
static-xx-xx-xx-xx..server.net[xx.xx.xx.xxx]: SASL PLAIN authentication failed

I have googled this error and came up with a link to this neohapsis archive for
a similar problem on Debian Sarge -
http://archives.neohapsis.com/archives/postfix/2003-12/2059.html.

begin snippet of archive
=====================
Thanks to the help of Thomas Peterhans of the phpmywebhosting project we
seem to have found the error. Although we assumed that the message
"Permission denied" was misleading because the smtpd part of Postfix was
looking in the wrong location... it wasn't. :) It was in fact a
permissions problem (bug report will be filed against sasl2-bin).

On Debian Sarge you need to "adduser postfix sasl" because the
permissions of the /var/run/saslauthd look like this:

drwx--x--- 2 root sasl 4096 2003-12-20 02:19 .

So only members of the "sasl" group are allowed to access the "mux"
saslauthd socket.
=====================
end snippet

OK, Ubuntu is like Debian, kinda. The mux file was world-everything, so it did
not seem like this would fix it, but I did

rootuser# adduser postfix sasl

and confirmed that the postfix user was in the sasl group.

No difference.

What should I do now? Any ideas?

Thanks in advance.

/Larry Honig





----------------------------------------------------------------
This message was sent from the [EMAIL PROTECTED] Servers.
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to