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

2013-08-10 by Jim Klimov

Manu, can you clarify something?

The priv_hostname is defined to be char[ADDRLEN+1], where
ADDRLEN is the name of local user part plus the domain part
and some optional characters, amounting to 324 bytes (dump.h)

Why ADDRLEN+1 and not the NS_MAXDNAME+1 ?

I assume your choice is bigger and will replace the NS_MAXDNAME
sizes in my code to match this, so that we don't happen to trim
anything unintentionally... but the "why?" remains ;)

//Jim

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.