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 Mauricio Teixeira

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




--
Mauricio Teixeira
Sao Paulo/SP/BR
http://mteixeira.wordpress.com
mauricio.teixeira{at}gmail.com
(irc: netmask on freenode)

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.