Re,
i've replace the inet_ntop with iptostring function and the log is now
correct.
i will send a patch, for lib_spf2 (new name of spf_alt) and the syslog
message.
if some want to try it before here is the change
line 273 of milter-greylist.c:
inet_ntop(AF_INET, &priv->priv_addr, ipstr, IPADDRLEN);
change to
if (!iptostring(SA(&priv->priv_addr),
priv->priv_addrlen, ipstr, sizeof(ipstr)))
return SMFIS_CONTINUE;
Le 14 sept. 2004, à 20:58, manu@... a écrit :
> Alexandre CHERIF <alexandre.cherif@...> wrote:
>
> [libspf_alt]
> I use it...
>
>> error in syslog : Sender IP 0.2.154.21 and address .......
>> ps: beside the reporting error, SPF is correctly running.
>
> It could be an endianness big (I run my MX on a big endian CPU, so I
> never notice them). WOuld the IP make sens if reversed?
>
> --
> Emmanuel Dreyfus
> Il y a 10 sortes de personnes dans le monde: ceux qui comprennent
> le binaire et ceux qui ne le comprennent pas.
> manu@...
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>Message
Re: [milter-greylist] [SPF] libspf_alt vs libspf2
2004-09-20 by Alexandre CHERIF
Attachments
- No local attachments were found for this message.