Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] changing logging

2006-06-19 by Jack L. Stone

At 07:13 AM 6.19.2006 +0200, manu@... wrote:
>c.r.p. <shcv34c@...> wrote:
>
>> I really like milter-greylist, except for one thing.
>> Is there a way to change the log file? I really do not want the
>> messages from milter-greylist showing up in the maillog file.
>
>Patch the call to openlog() in milter-greylist.c and use a different
>logging facility.
>

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);

Thanks!
Jack

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american

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.