Hi Victor,

Am Tue, 19 Jul 2011 11:37:56 -0400
Victor Duchovni <victor.ducho...@morganstanley.com> schrieb:
> On Tue, Jul 19, 2011 at 05:02:34PM +0200, Lars T??uber wrote:
> 
> > 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?
> 
> No, the parent directory: $queue_directory/private, must be protected
> from users other than "postfix" (or "root").
> 
> > I thought under Linux the filesystem permissions reflect the permissions
> > to the unix socket.
> 
> The entire path to the unix socket, including parent directories.
> 
> $ ls -ld /var/spool/postfix/private/ /var/spool/postfix/public/
> drwx------  2 postfix root     4096 Jun  7 17:59 /var/spool/postfix/private/
> drwx--x---  2 postfix postdrop 4096 Jun  7 17:59 /var/spool/postfix/public/
> 
> > Am I doing something wrong?
> 
> To run an smtpd in a less restricted directory, you need to place the
> socket in a new location. You can create
> 
>       /var/spool/postfix/world
> 
> owner postfix, mode 0755, and in master.cf use:
> 
>       ../world/sname  unix ...
> 
> instead of 
> 
>       sname   unix ...

using this leads me into this error message:
mail.err:
[...] postfix/smtpd[29046]: fatal: open lock file pid/unix.../world/sname:
cannot create file exclusively: No such file or directory

I couldn't find locking options for smtpd.

How can this be solved?

Thanks
Lars

Reply via email to