diff options
author | Stef Walter <stef@thewalter.net> | 2010-11-02 16:34:46 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2011-01-23 15:47:45 -0600 |
commit | b8dafc3005f6ceb4e509933068d6a53a40366260 (patch) | |
tree | 31cd3ce2aff3a38c80dd516a0361f807c078903b /src/proxsmtpd.c | |
parent | 3ce51cb78093af80e7617135384e5834a181ca64 (diff) |
Add status to logs for rejection and skipping
Diffstat (limited to 'src/proxsmtpd.c')
-rw-r--r-- | src/proxsmtpd.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |