summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-05-03 21:36:14 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-05-03 21:36:14 +0100
commit187bc588ac69994548471cc4a303e77fb0e957bc (patch)
treee4d34be45fd38d252653b87686b57177469d28b0 /src
parent2335af87fd252977cdc216e7dfad7b9fbc54b7e9 (diff)
More debug output
Diffstat (limited to 'src')
-rw-r--r--src/src/acl.c2
-rw-r--r--src/src/expand.c2
-rw-r--r--src/src/malware.c1
3 files changed, 5 insertions, 0 deletions
diff --git a/src/src/acl.c b/src/src/acl.c
index eb2211d60..42b9091c3 100644
--- a/src/src/acl.c
+++ b/src/src/acl.c
@@ -2992,12 +2992,14 @@ for (; cb != NULL; cb = cb->next)
if (cb->type == ACLC_MESSAGE)
{
+ HDEBUG(D_acl) debug_printf(" message: %s\n", cb->arg);
user_message = cb->arg;
continue;
}
if (cb->type == ACLC_LOG_MESSAGE)
{
+ HDEBUG(D_acl) debug_printf("l_message: %s\n", cb->arg);
log_message = cb->arg;
continue;
}
diff --git a/src/src/expand.c b/src/src/expand.c
index 34fb0346e..8f1b3d875 100644
--- a/src/src/expand.c
+++ b/src/src/expand.c
@@ -3949,6 +3949,8 @@ while (*s != 0)
{
case OK:
case FAIL:
+ DEBUG(D_expand)
+ debug_printf("acl expansion yield: %s\n", user_msg);
if (user_msg)
yield = string_cat(yield, &size, &ptr, user_msg, Ustrlen(user_msg));
continue;
diff --git a/src/src/malware.c b/src/src/malware.c
index 7b3453f72..aaf3fcb7e 100644
--- a/src/src/malware.c
+++ b/src/src/malware.c
@@ -406,6 +406,7 @@ malware_internal(uschar **listptr, uschar *eml_filename, BOOL faking)
return m_errlog_defer(scanent, errstr);
break;
}
+ DEBUG(D_lookup) debug_printf("Malware scan: %s\n", scanner_name);
switch (scanent->scancode) {
case M_FPROTD: /* "f-protd" scanner type -------------------------------- */