Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] postfix and p0f support - no {if_addr}

2008-09-08 by Greg Troxel

manu@... writes:

> Greg Troxel <gdt@...> wrote:
>
>> I have hard-coded by if_addr in the source for testing for now, but it
>> seems the only real fix is to add if_addr to postfix. A kludge or
>> workaround would be to have wildcard support in p0f and use INADDR_ANY
>> for my adddr.
>
> Can p0f answer a query that has a wildcard? Won't you get an answer for
> another connexion instead of the one you are looking for?

If the wildcard is for my address, then it's pretty likely it will be
the right one. Guaranteed if I have one address, and pretty good if
this is in response to a connection even if I have a few. But, the answer for a wrong connection from THEM to US (for wildcarded US) is still the right answer for milter-greylist's purposes,

> IMO, a configuration option to set IP and port could help, at list on
> non-multihomed setups. Another approach would be to contribute {if_addr}

That would be good to add because a lot of people will be running in
environments without patched postfix for quite a a while.

> and {daemon_port} macros to Postfix: these should not be very difficult
> to implement.

Indeed - one wonders why they don't exist - seems like really obvious
information to provide to a milter.

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.