Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] changing logging

2006-06-19 by Emmanuel Dreyfus

On Mon, Jun 19, 2006 at 08:12:21AM -0500, Jack L. Stone wrote:
> Emmanuel, I'd like to log to a different log file too, like
> "milter-greylist.log"
> 
> I gather below are the lines to modify, however I'm unsure of what to
> replace "LOG_MAIL" with, being script-challenged and merely a user/admin.
> Would you please advise further of how the lines should look to make the
> change?
> 
>         if (conf.c_nodetach != 0)    
>                 openlog("milter-greylist", LOG_PERROR, LOG_MAIL);
>         else
>                 openlog("milter-greylist", 0, LOG_MAIL);

s/LOG_MAIl/LOG_LOCAL0/

Then edit syslog.conf to redirect local0.* to milter-greylist.log,
and signal syslogd.

There are also local1, local2 ... local7

-- 
Emmanuel Dreyfus
manu@...

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.