Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] changing logging

2006-06-19 by Martin Paul

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?

Change LOG_MAIL to LOG_LOCAL0 in both lines. Recompile milter-greylist
and restart it. Add a line like:

  local0.debug	/var/log/milter-greylist.log
              ^^ this is a TAB, *not* spaces

to /etc/syslog.conf, and send the syslog daemon (syslogd) a HUP signal.

See the syslog man page for alternatives to LOG_LOCAL0 and general
information about syslog.

mp.

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.