Another bug fix and debug aid at the macro.c:
--- macro.c.orig 2006-08-28 15:33:14.000000000 +0900
+++ macro.c 2006-09-02 19:28:10.000000000 +0900
@@ -82,7 +82,7 @@
priv = (struct mlfi_priv *)smfi_getpriv(ctx);
- value = smfi_getsymval(ctx, me->m_name);
+ value = smfi_getsymval(ctx, me->m_macro);
switch (me->m_type) {
case M_UNSET:
@@ -109,7 +109,9 @@
}
if (conf.c_debug) {
- mg_log(LOG_DEBUG, "sm_macro \"%s\" match", me->m_name);
+ mg_log(LOG_DEBUG, "sm_macro \"%s\" %s=%s %s", me->m_name,
+ me->m_macro, value ? value : "(null)",
+ retval ? "nomatch" : "match");
}
return retval;Message
Re: [milter-greylist] milter-greylist 3.0 alpha 5 is out
2006-09-02 by AIDA Shinra