Stuff…

I know I will forget.

Stuff… header image 2

Command output: ERR: authdaemon: s_connect() failed: Permission denied maildrop

August 19th, 2010 · No Comments

Was receiving the following errors in the mail.log after upgrade from Ubuntu 8.04 LTS to Ubuntu 10.4 LTS:

Aug 19 12:32:55 mail postfix/pipe[2208]: 88FD22BC84: to=<user@domain>, relay=maildrop, delay=1180, delays=1180/0.02/0/0.04, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/maildrop/bin/maildrop.bin: Temporary authentication failure. )
I had previously installed maildrop from source, but, decided to change it over to maildrop from APT.  Then I checked (suggestion from top of INSTALL file for maildrop):
* Your mail server must invoke maildrop as the root user (the -d flag reads the mail account’s uid and gid, then drops root) .
* Manually change the permissions on the maildrop binary to be setuid root.
* Manually change the permissions on the courier-authlib’s socket directory (/usr/local/var/spool/authdaemon by default) to be globally readable or executable.
Didn’t need to run as root as was using vmail user, so, checked the authdaemon directory which was not globally readable.  Changing this made maildrop start working again.

Tags: Linux · Operating System · Protocols · SMTP

0 responses so far ↓

  • There are no comments yet...

Leave a Comment