From b8dafc3005f6ceb4e509933068d6a53a40366260 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 2 Nov 2010 16:34:46 +0000 Subject: Add status to logs for rejection and skipping --- src/proxsmtpd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/proxsmtpd.c') diff --git a/src/proxsmtpd.c b/src/proxsmtpd.c index 9402641..ed994cd 100644 --- a/src/proxsmtpd.c +++ b/src/proxsmtpd.c @@ -229,6 +229,7 @@ int cb_check_data(spctx_t* ctx) if(g_pxstate.filter_type == FILTER_REJECT) { + sp_add_log(ctx, "status=", "REJECTED"); if(sp_fail_data(ctx, g_pxstate.reject) < 0) return -1; /* Message already printed */ return 0; -- cgit v1.2.3