Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 2020 07:54:59 +0100
From:      Jacques Foucry <jacques+freebsd@foucry.net>
To:        Gary Aitken <freebsd@dreamchaser.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: milter-greylist permissions and owner
Message-ID:  <X8c6Qyn4Fx5b8oUC@mithril>
In-Reply-To: <8cb67b81-4e67-1800-381d-68da44e88290@dreamchaser.org>
References:  <8cb67b81-4e67-1800-381d-68da44e88290@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X8c6Qyn4Fx5b8oUC>