Yahoo Groups archive

Milter-greylist

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

Thread

conditional logging

conditional logging

2008-09-05 by Joe Pruett

i'd like to be able to disable logging for at least the default case.  my 
logs are cluttered enough as it is :-).  but i'm thinking that maybe a 
generic nolog keyword or something like that would be cleaner.  does 
anyone else think this would be a good idea?

Re: [milter-greylist] conditional logging

2008-09-05 by manu@netbsd.org

Joe Pruett <joey@...> wrote:

> i'd like to be able to disable logging for at least the default case.  my
> logs are cluttered enough as it is :-).  but i'm thinking that maybe a
> generic nolog keyword or something like that would be cleaner.  does 
> anyone else think this would be a good idea?

While you are there, you can make the syslog facility configurable
logfac mail
logfac local0
logfac none for disabling logging entirely.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: [milter-greylist] conditional logging

2008-09-05 by Greg Troxel

Joe Pruett <joey@...> writes:

> i'd like to be able to disable logging for at least the default case. my
> logs are cluttered enough as it is :-). but i'm thinking that maybe a
> generic nolog keyword or something like that would be cleaner. does
> anyone else think this would be a good idea?

My logs are big too, but I like having the data, and once every few
months I look to see what happened to some piece of mail. If you omit
the default case, then you lose the "delayed for 00:30:00", the retries,
and the "autowhitelisted for 720:00:00". But I would not object to a
nologdefault keyword to suppress logging when the default rule fires.

Re: [milter-greylist] conditional logging

2008-09-05 by Joe Pruett

what i am playing with right now is a nolog keyword that causes that acl 
to not log.  but from looking at the code, it seems the main thing i am 
wanting to get around is the skipping message, so nolog is maybe not quite 
the right term.  maybe "quiet" to not spit out the skipping message?

Re: [milter-greylist] conditional logging

2008-09-05 by Joe Pruett

i'm going to stick with the nolog keyword and just document that it only 
applies to whitelist entries.  i think i have that done now (not tested of 
course :-).  now i'm going to look at implementing the openlog changes 
that emmanuel suggested.

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.