bmf-milter

bmf filter milter daemon
git clone git://r-36.net/bmf-milter
Log | Files | Refs | LICENSE

commit 7527f07edfd7df6305efbd16bf4be9ab14e07d3b
parent cf2c0dc0dcbd1363b457e29f950651c7e0b11d63
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun, 23 Aug 2020 17:28:13 +0200

Add debug for flag adding..

Diffstat:
bmf-milter.c | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/bmf-milter.c b/bmf-milter.c @@ -151,6 +151,11 @@ mlfi_cleanup(SMFICTX *ctx, int iseom) fprintf(stderr, "mlfi_cleanup(x-spam-flag failed)\n"); } + } else { + if (dodebug) { + fprintf(stderr, + "mlfi_cleanup(x-spam-flag = yes added)\n"); + } } } if (smfi_addheader(ctx, "X-BMF-Processed", @@ -159,6 +164,11 @@ mlfi_cleanup(SMFICTX *ctx, int iseom) fprintf(stderr, "mlfi_cleanup(x-bmf-processed failed)\n"); } + } else { + if (dodebug) { + fprintf(stderr, + "mlfi_cleanup(x-bmf-processed = yes added)\n"); + } } }