Commit 9a03731c authored by rswindell's avatar rswindell
Browse files

Added log output when filtering an IP address.

Updated spam.log entry for spam bait captures.
parent b283f952
......@@ -2466,10 +2466,11 @@ static void smtp_thread(void* arg)
,socket, str, reverse_path);
if(dnsbl_result.s_addr==0) { /* Don't double-filter */
lprintf("%04d !FILTERING IP ADDRESS: %s", socket, host_ip);
filter_ip(&scfg, "SMTP", str, host_ip, reverse_path);
strcat(tmp," and FILTERED");
spamlog(&scfg, "SMTP", tmp, "Spam Bait Taken"
spamlog(&scfg, "SMTP", tmp, "Attempted recipient in SPAM BAIT list"
,host_name, host_ip, rcpt_addr, reverse_path);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment