Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Pidfile in 4.0 alpha3

2007-05-05 by ca35763+mgl@realsimplemail.com

On Fri, 4 May 2007, shuttlebox wrote:

> Date: Fri, 4 May 2007 21:40:27 +0200
> From: shuttlebox <shuttlebox@...>
> Reply-To: milter-greylist@yahoogroups.com
> To: milter-greylist@yahoogroups.com
> Subject: Re: [milter-greylist] Pidfile in 4.0 alpha3
> 
> On 5/4/07, ca35763+mgl@...
> <ca35763+mgl@...> wrote:
>>  Getting an error on start-up:
>>
>>  May  4 14:14:44 mostly milter-greylist: Cannot open pidfile
>>  "/var/run/milter-greylist.pid" for writing: Permission denied
>>
>>  Configured with only one option:
>>
>>  ./configure --with-user=smmsp
>
> ...and does the user smmsp have write permissions in /var/run?
>
> -- 
> /peter
>

Obviously it can't write to /var/run!  My intent was to point out that 
alpha 2 wrote the pidfile as root.  The alpha 3 "Cleanup stale PID file on 
startup" apparently changed pidfile user too.  I didn't know if that was 
the intended behavior.

Anyway, I moved the pidfile to the database directory which is writable 
and works.

Thanks.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.