Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Rules per virtual domain name based?

2007-01-08 by manu@netbsd.org

Mart Pirita <sysadmin@...> wrote:
  
> So, tested it, same problems, no ACL stuff in logs and hardcoded message
> code is used:

Please try adding two printfs in acl.c:acl_filter(). What do you get?

Index: acl.c
===================================================================
RCS file: /cvsroot/milter-greylist/acl.c,v
retrieving revision 1.44
diff -U2 -r1.44 acl.c
--- acl.c       4 Jan 2007 23:01:46 -0000       1.44
+++ acl.c       8 Jan 2007 14:39:40 -0000
@@ -1133,8 +1133,9 @@

+               printf("try ACL %d\n", acl->a_line); 
                LIST_FOREACH(ac, &acl->a_clause, ac_list) {
                        if ((found = (*ac->ac_acr->acr_filter)
                                        (&ac->ac_data, stage, &ap,
priv)) == 0)
                                break;

+                       printf("  found 0x%x\n", found);
                        retval |= found;
                }
-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
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.