Hello all,
Today I've finally succeeded in integration of milter-greylist
with Sun/Oracle Messaging Server (via milter plugin). There were
some problems with support of inet type of sockets (the chown
problem that was recently discussed and fixed), and also the
milter complained about missing {if_addr} values.
The Messaging Server uses {client_addr} instead, and their
documentation states so, that the milters should be converted
to use it. And for clarity (and to avoid noise in logs) I did.
Resulting patch against 4.4.3 tarball is attached - in the couple
of places that the code uses {if_addr}, we also try to use
{client_addr} if the first attempt returned null. Complain
about absent values only if both are null.
I am not sure if this behaviour should be default or flagged
(at compile-time or via command-line), I just made it default
as suits this particular mail-server :)
HTH,
//Jim KlimovMessage
Support for {client_addr} when {if_addr} is not available
2013-07-20 by Jim Klimov
Attachments
- No local attachments were found for this message.