I recently setup ISPConfig 3 RC2, on an Ubuntu 8.04 server following the install instructions provided on the ISPConfig site.  I did however experience an issue with inbound mail being rejected for valid mailboxes with the following error:

Action: failed
Status: 5.1.1
Diagnostic-Code: x-unix; ERR: authdaemon: s_connect() failed: Permission denied
Invalid user specified.

This was resolved by changing the ‘maildrop’ line in ‘/etc/postfix/master.cf’ to:

flags=R user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${domain} ${sender}

Additional:

The following may also be required to fix this error:

chmod 4755 /var/run/courier/authdaemon


Tags: ,
3 Responses to “ISPConfig on Ubuntu rejecting mail to valid mailboxes”
  1. Dallas Ray says:

    This helped us tremendously. Thank you so much!

  2. mark says:

    I bookmarked this site, Thank you for good job!

  3. Q says:

    same issue here, tried both just fixing the permissions resolved it for me

    chmod 4755 /var/run/courier/authdaemon

  4.  
Leave a Reply