Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Re: Postfix queue ID

2016-02-03 by manu@...

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@...

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.