Public bug reported:

Binary package hint: courier-authlib

Summary:

The directory /var/run/courier/authdaemon had permission 750.  In order
to get courier-mta to work, I had to change it to 755.

Details:

I am running a mail server with imap and smtp, both served by courier.
Configuring imap was fairly straightforward.  Configuring smtp (with
courier-mta) gave me a headache.  The following simple test failed:

r...@pluto:/etc/courier# echo "To: mich...@localhost" | sendmail 
ERR: authdaemon: s_connect() failed: Permission denied
450-Service temporarily unavailable.
450 Headers specify no receipients.
sendmail: Unable to submit message.

This was strange for two reasons: First, I didn't expect sendmail to
communicate with authdaemon, and second, authdaemon worked just fine for
imap.

it took me a long time to find out that not all processes had access to
the authdaemon socket.  The socket itself had proper permissions:

r...@pluto:/var/run/courier/authdaemon# ls -l
srwxrwxrwx 1 root root 0 2009-11-15 17:55 socket
...

... but the folder containing it didn't:

r...@pluto:/var/run/courier# ls -l
drwxr-x--- 2 root   root     100 2009-11-15 17:55 authdaemon
...

A chmod to 755 of the containing directory did the trick.  I am not sure
whether this is the best solution (vs. changing ownership of the
folder).

ProblemType: Bug
Architecture: amd64
Date: Sun Nov 15 18:20:27 2009
DistroRelease: Ubuntu 9.10
Package: courier-authlib 0.62.2-1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-server
SourcePackage: courier-authlib
Uname: Linux 2.6.31-14-server x86_64

** Affects: courier-authlib (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
insufficient access permission for /var/run/courier/authdaemon
https://bugs.launchpad.net/bugs/483170
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to