Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] milter-greylist with postfix

2006-11-28 by Hajimu UMEMOTO

Hi,

>>>>> On Tue, 28 Nov 2006 02:52:15 +0200
>>>>> Nerijus Baliunas <nerijus@...> said:

nerijus> According to http://www.postfix.org/MILTER_README.html#workarounds :
nerijus>   Some Milter applications use the "{if_addr}" macro to recognize local mail;
nerijus>   this macro does not exist in Postfix. Workaround: use the "{client_addr}"
nerijus>   macro instead.

nerijus> I had to replace {if_addr} with {client_addr} in milter-greylist.c (this got rid
nerijus> of "smfi_getsymval failed for {if_addr}" in the log). If sendmail also supports
nerijus> {client_addr}, could it be possible to change it in the source? If not, then
nerijus> probably configure switch could be added for Postfix?

No, {client_addr} is not suitable for replacement of {if_addr}.  While
{if_addr} means an IP address of local sendmail, {client_addr} means
an IP address of client.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@...  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/

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.