Yahoo Groups archive

Milter-greylist

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

Message

Re: Patches to use localaddr if there is no if_addr, and some more SPF verbosity

2013-08-12 by manu@...

Jim Klimov <jimklimov@...> wrote:

> So here is a couple of patches: one allows use of "localaddr" by
> local_ipstr() for '%V' format string parsing, I believe; its result
> can be seen in the X-Greylist headers; and also for p0f which I did
> not yet test.

You forgot the bits from conf.c and conf.h. I added them and refactored
the patch a bit. For instance, local_ipstr() never returns NULL,
therefore there is no need to check it. 

I also modified %V so that [0.0.0.0] does appear if things are
misconfigured. That will help admins fixing it.

Here is my version, please tell me if that is fine for you:
http://ftp.espci.fr/shadow/manu/localaddr.patch

I checked in your other patch on SPF verbosity.

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