Sorry, I've been looking around the source code and I don't even know where to start. I'm pretty sure there's a big possibility that I will screw this up...
On Tue, Feb 2, 2016 at 10:17 PM, manu@... [milter-greylist] <milter-greylist@yahoogroups.com> wrote:
Mauricio Teixeira mauricio.teixeira@... [milter-greylist]
<milter-greylist@yahoogroups.com> wrote:
> Great, that should be enough. So how do we get that implemented? I'm
> horrible at C. :)
That seems a very good opportunity to learn.
The mg_log() function could be modified to take a struct mlfi_priv *priv
as second argument (possibly NULL), and display priv->priv_queueid at
the beginning of each log line if (priv && priv->priv_queueid).
Then each mg_log() invocation needs to be modified to add priv or NULL
is unavailable.
Open question: before or after 4.6 release?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...
(irc: netmask on freenode)