Hello, I'm using dovecot 1.0 under debian etch. The lda socket path is set to: auth_socket_path = /var/spool/postfix/private/auth But this gives me the error: net_connect(/var/spool/postfix/private/auth) failed: Permission denied I suppose deliver is run as dovecot user. I read about running deliver as root with the suid bit set. I'm not quite sure if this is a good solution. Is there any other way. In the wiki says: "Most MTAs won't let you run deliver as root, so for now you'll need to make it setuid root. However deliver isn't designed to be run as setuid-root" My MTA is postfix, does someone know if postfix let me run deliver as root? If not, should I go to the setuid option? Thank you. -- Adri?n Ribao Mart?nez -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: <http://dovecot.org/pipermail/dovecot/attachments/20080522/e8377834/attachment-0002.bin>
On 5/22/2008, Adri?n Ribao Mart?nez (aribao at gmail.com) wrote:> The lda socket path is set to: > auth_socket_path = /var/spool/postfix/private/auth > > But this gives me the error: > net_connect(/var/spool/postfix/private/auth) failed: Permission deniedPlease provide full dovecot -n output, not snips from config files (dovecot may not be using the setting you think it is)... -- Best regards, Charles
Hi. --On Thursday, May 22, 2008 02:32:06 PM +0200 Adri?n Ribao Mart?nez <aribao at gmail.com> wrote:> The lda socket path is set to: > auth_socket_path = /var/spool/postfix/private/authIf you need the auth socket only for one user, just set the correct permissions. Postfix can run the deliver process as the dovecot user. For more info see <http://wiki.dovecot.org/LDA/Postfix>.> My MTA is postfix, does someone know if postfix let me run deliver as > root? If not, should I go to the setuid option?It depends on your setup, I guess. Another feasible option might be using filesystem ACLs for the auth socket. Greetings, Jens