milter-greylist permissions and owner

Jacques Foucry jacques+freebsd at foucry.net
Wed Dec 2 06:55:28 UTC 2020


Le mardi 01 déc. 2020 à 21:56:05 (-0700), Gary Aitken à écrit:
> running 11.3 RELEASE-p6 with milter-greylist installed from packages.
> I just noticed this message in my maillog:
> 
> milter-greylist: cannot open ">>/var/milter-greylist/greylist.log" at line 15: Permission denied
> 
> permissions:
> 
> /var/milter-greylist # ls -dl . *
> drwxr-xr-x  2 mailnull  mailnull  512 Dec  1 21:42 .
> -rw-------  1 mailnull  mailnull     1211 Dec  1 21:42 greylist.db
> -rw-r--r--  1 root      mailnull  3724510 Mar 28  2020 greylist.log
> srwxr-xr-x  1 mailnull  mailnull        0 Mar 12  2020 milter-greylist.sock
> 
> Since this was set up back a ways as a result of it first running or an
> initial install, I haven't any idea what the ownership and permissions
> should be.
> 
> hints?
> 
> If they are by chance correct, clues on what else is going on?


Juste change the owner of the greylist.log to mailnull:

chown mailnull /var/milter-greylist/greylist.log

Should be better.
-- 
Jacques Foucry


More information about the freebsd-questions mailing list