Skip to content
Snippets Groups Projects
Commit 48a787c8 authored by rswindell's avatar rswindell
Browse files

Added recipient address to spam log entry for rejected mail from DNSBL.

parent edbc3bca
No related branches found
No related tags found
No related merge requests found
......@@ -2012,7 +2012,7 @@ static void smtp_thread(void* arg)
lprintf("%04d !SMTP REFUSED MAIL from blacklisted server"
,socket);
sprintf(str,"Listed on %s as %s", dnsbl, inet_ntoa(dnsbl_result));
spamlog(&scfg, "SMTP", "MAIL REFUSED", str, host_name, host_ip, NULL);
spamlog(&scfg, "SMTP", "MAIL REFUSED", str, host_name, host_ip, rcpt_addr);
sockprintf(socket
,"550 Mail from %s refused due to listing at %s"
,host_ip, dnsbl);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment