Nerijus Baliunas <nerijus@...> wrote:
> I had to replace {if_addr} with {client_addr} in milter-greylist.c (this
> got rid of "smfi_getsymval failed for {if_addr}" in the log). If sendmail
> also supports {client_addr}, could it be possible to change it in the
> source? If not, then probably configure switch could be added for Postfix?
Won't we later discover older or odd-flavored sendmail that miss
{client_addr}? I'd rather go for the --with-postfix configure flag.
OTOH, {if_addr} is only used for the X-Greylist header, to tell what
machine did the greylisting. That could be replace by the local IP
address we get if we open an UDP socket. Of course it can be wrong on
machine with multiple interfaces, but that should be okay in most cases.
Or we can have a config option to hardcode it.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...Message
Re: [milter-greylist] milter-greylist with postfix
2006-11-28 by manu@netbsd.org
Attachments
- No local attachments were found for this message.