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

Create an entry in the spam.log when rejecting mail based on SpamAssassin

results.
parent cc13480c
No related branches found
No related tags found
No related merge requests found
......@@ -117,6 +117,11 @@ function main()
}
error_file.writeln("SpamAssassin rejected your mail: " + details);
error_file.close();
system.spamlog("SMTP","REJECTED"
,"SpamAssassin " + details
,client.host_name, client.ip_address
,recipient_address
,reverse_path);
return;
}
......
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