Yahoo Groups archive

Milter-greylist

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

Thread

configurable umask for greylist.db ?

configurable umask for greylist.db ?

2007-12-20 by Rob Kouwenberg

Howdy folks !

Whilst browsing through the code of milter-greylist it struck me that 
the umask of greylist.db isn't configurable. I could recompile the 
code, but IMHO a nicer solution would be an entry in the 
greylist.conf.

Mine reads now :
-rw-------   1 smmsp    smmsp       5490 Dec 20 11:51 greylist.db

In my situation too strict ..

Comments anyone ?

Cheers !

Re: [milter-greylist] configurable umask for greylist.db ?

2007-12-20 by Nerijus Baliunas

On Thu, 20 Dec 2007 12:00:32 +0100 Rob Kouwenberg <rob@...> wrote:

> Whilst browsing through the code of milter-greylist it struck me that 
> the umask of greylist.db isn't configurable. I could recompile the 
> code, but IMHO a nicer solution would be an entry in the 
> greylist.conf.
> 
> Mine reads now :
> -rw-------   1 smmsp    smmsp       5490 Dec 20 11:51 greylist.db
> 
> In my situation too strict ..

Why is it too strict for you?

> Comments anyone ?

If adding umask setting would be useful for a lot of people, why not,
but if it is useful only for you (for example, you want to backup file as
other user), then probably not.

Regards,
Nerijus

Re: [milter-greylist] configurable umask for greylist.db ?

2007-12-20 by Emmanuel Dreyfus

On Thu, Dec 20, 2007 at 02:38:28PM +0200, Nerijus Baliunas wrote:
> If adding umask setting would be useful for a lot of people, why not,
> but if it is useful only for you (for example, you want to backup file as
> other user), then probably not.

Well, adding a mode after the dumpfile path does not seems overkill.

-- 
Emmanuel Dreyfus
manu@...

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.