Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Submitter DNS name resolution and forgery detection [1 Attachment]

2013-08-05 by Jim Klimov

On 2013-08-05 06:20, Jim Klimov wrote:
> I hope the list members can review this code for apparent errors
> at least... but again - I have a test-case where it just works :)

Got two cases now :)

For a host with a PTR name entry in DNS, this name is resolved and
used in "domain" ACLs. For a host without a PTR entry, the bracketed
quad is retained and is used in "domain" ACLs.

Also, one of my older systems complained about the patch's syntax -
the definition line
     int goodQuad = 0;
had to be moved a dozen lines up to other such definitions in the
block.

HTH,
//Jim Klimov

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.