Hi Wietse,

the unix socket can't be used by other users than root or postfix.
Is there a way to configure ownership and/or permissions for the socket?

I thought under Linux the filesystem permissions reflect the permissions to
the unix socket.

Here is my config and the socket:
master.cf:
backdoor
          unix  n       -       n       -       3       smtpd

# ls -l /var/spool/postfix/public/backdoor 
srw-rw-rw- 1 postfix postdrop 0 2011-07-19 14:15 
/var/spool/postfix/public/backdoor
# sudo -u dspam /usr/bin/socat - UNIX-CONNECT:/var/spool/postfix/public/backdoor
2011/07/19 16:53:44 socat[23143] E connect(3, AF=1 
"/var/spool/postfix/public/backdoor", 36): Permission denied

Am I doing something wrong?

Thanks again
Lars

Reply via email to