Yahoo Groups archive

Milter-greylist

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

Message

Some small logging changes (patch)

2006-05-04 by fredrik.pettai@vattenfall.com

Hi,

I would like to add these small changes for the logging output.
This change makes all the logging output to have the same sematics

--- milter-greylist-2.1.5/pending.c     Fri Mar  3 22:54:31 2006
+++ milter-greylist-2.1.5.patched/pending.c     Thu May  4 09:46:23 2006
@@ -242,1 +242,1 @@
-                              "(local) %s from %s to %s: greylisted "
+                              "(local): addr %s from %s to %s:
greylisted "

--- milter-greylist-2.1.5/autowhite.c   Fri Mar  3 22:54:31 2006
+++ milter-greylist-2.1.5.patched/autowhite.c   Thu May  4 09:38:56 2006
@@ -130,1 +130,1 @@
-                      syslog(LOG_INFO, "(local) addr %s from %s rcpt
%s: "
+                      syslog(LOG_INFO, "(local): addr %s from %s rcpt
%s: "
@@ -206,1 +206,1 @@
-                      syslog(LOG_INFO, "(local) addr %s from %s rcpt
%s: "
+                      syslog(LOG_INFO, "(local): addr %s from %s rcpt
%s: "
@@ -324,1 +324,1 @@
-                      syslog(LOG_INFO, "(local) addr %s from %s rcpt
%s: "
+                      syslog(LOG_INFO, "(local): addr %s from %s rcpt
%s: "

Other similar logging output has the (mxsync): <- with a tailing ":", 
and the "addr" text before the %s (the IP-address).

Okay to add the change for the 2.1.5 branch?

Re,
/P

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.