Remove the username from the milter_headers

Rspamd adds the name of the authenticated user by default. Setting add_smtp_user to false prevents the login to be leaked.
master
anrc 4 years ago committed by GitHub
parent 92bf736da4
commit 59bc4f7aea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,6 +5,9 @@ skip_authenticated = false;
use = ["x-spamd-bar", "x-spam-level", "x-virus", "authentication-results"]; use = ["x-spamd-bar", "x-spam-level", "x-virus", "authentication-results"];
routines { routines {
authentication-results {
add_smtp_user = false;
}
x-virus { x-virus {
symbols = ["CLAM_VIRUS", "FPROT_VIRUS", "JUST_EICAR"]; symbols = ["CLAM_VIRUS", "FPROT_VIRUS", "JUST_EICAR"];
} }

Loading…
Cancel
Save