Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] 2.0b2 - domain acl's not working?

2005-03-09 by manu@netbsd.org

Matt Kettler <mkettler@...> wrote:

> What's going on? Is there some bug where domain lookups aren't working right?

milter-greylist doesn't do any DNS lookup (except for SPF). The resolved
peer name is handed by sendmail.

Let's debug that. In the beginning of acl.c:acl_filter(), add a 
syslog(LOG_DEBUG, "hostname = \"%s\"", hostname);

Then in the block of if (acl->a_domain_re != NULL), you can add syslog
statements to check the code path: does the regex matches or not?  

Tell me the result.

-- 
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.