Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] lists composed of spf servers

2009-05-09 by Michael Mansour

Hi,

> On Sat, May 09, 2009 at 02:13:35PM +0200, manu@... wrote:
> > Petar Bogdanovic <petar@...> wrote:
> > 
> > > Let's see how Sendmail headers look like when RDNS is not available.
> > > We can then make that the default behaviour and add an option for
> > > backward compatibility?
> > 
> > There are certainly people out of there that made scripts to parse
> > milter-greylist log output. If you change the behaviour, this is nasty
> > for them. IMO the default setting should be backaward compatibility.
> 
> Ok, I dug through some pieces of the sendmail code and did some 
> tests on an emulated Ubuntu installation:  It seems that the way 
> milter-greylist logs unresolvable clients is consistent with that of 
> sendmail.
> 
> Sendmail, however, has not the same approach when it comes to 
> received headers:
> 
> 	log (rdns):	relay=some.host.name. [1.2.3.4]
> 	log (no-rdns):	relay=[5.6.7.8] [5.6.7.8]
> 
> 	hdr (rdns):	(some.host.name. [1.2.3.4])
> 	hdr (no-rdns):	([5.6.7.8])
> 
> I think we should move that tiny piece of code into spamd.c and make 
> the injected received header look like one from sendmail.  

Does this mean that you have to be running spamd to take advantage of that code?

Michael.

> Preliminary patch is attached.  I won't have a chance to test it 
> until somewhen next week.
> 
>    Petar Bogdanovic
> 
> P.S.
> 	It would be still very helpful if a sendmail-user
> 	could confirm my observations.
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 
>

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.