Fourhundred Thecat via Postfix-users:
> Hello,
> 
> I am setting up opendkim on my postfix server:
> 
> what is the practical difference between using inet or UNIX domain
> socket in /etc/opendkim.conf ?
> 
> If I leave socket at the default settings:
> 
>    Socket  local:/var/run/opendkim/opendkim.sock
Here, the socket is bound to a name in the file system, and directory
access permissions are in effect (the permissions on the socket
name itself may not have any observable effect).

> What do I need to put into /etc/postfix/main.cf instead of inet:localhost ?
> 
>    smtpd_milters = inet:localhost:8891

This is not subject to directory access permissions. Any process
on the local machine can talk to the opendkim service.

> I am not using chroot for my postfix installation, so I assume I don't
> need inet and can use UNIX domain socket ?

Both would work.

> Or what is the practical difference?

One can have directory access permissions, the other is world
readable (for processes on the same machine). 

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to