Re: postfix cannot connect to milter-greylist sock

From: Daniel Lysfjord <lysfjord.daniel_at_smokepit.net>
Date: Wed, 24 May 2023 06:22:19 UTC
Hi,

socket is not group writeable. I guess postfix is not running as the 
mailnull user.

Den 2023-05-23 18:45, skrev Paul Procacci:
> 
> 
> On Tue, May 23, 2023 at 12:33 PM vagabond <vagabond@blackfoot.net 
> <mailto:vagabond@blackfoot.net>> wrote:
> 
>     postfix doesn't want to connect to milter-greylist.sock:
> 
>     maillog:
>     postfix/smtpd[13700]: warning: connect to Milter service
>     local:/var/milter-greylist/milter-greylist.sock: Permission denied
> 
>     # ls -l /var/milter-greylist/milter-greylist.sock
>     srwxr-xr-x  1 mailnull  mailnull  0 May 22 16:43
>     /var/milter-greylist/milter-greylist.sock
> 
>     # grep postfix /etc/group
>     mail:*:6:postfix
>     mailnull:*:26:postfix
>     postfix:*:125:
> 
>     I've stopped and restarted the postfix service, thinking it didn't
>     belong to the mailnull
>     group for some reason.
> 
>     Added postfix to the mailnull group using vigr.
> 
>     what am I missing?
>     Thanks,
> 
>     Gary
> 
> 
> 
> What are the permissions of each of the directories leading up to the 
> socket?
> 
> ~Paul
> 
> -- 
> __________________
> 
> :(){ :|:& };: