Remove user agent from email header

This commit is contained in:
Bob Mottram 2018-04-05 19:33:31 +01:00
parent d2672e31a8
commit 42d9bb3c15
1 changed files with 2 additions and 1 deletions

View File

@ -297,6 +297,7 @@ function configure_email_onion {
echo " driver = manualroute";
echo " domains = riseup.net";
echo " transport = onion_relay";
echo " headers_remove = Received:Message-ID:X-Mailer:User-Agent";
echo " route_data = \${perl{onionLookup}{$RISEUP_EMAIL_ONION}}"
echo " no_more"; } > /etc/exim4/conf.d/router/049_exim4-config-riseup
@ -304,7 +305,7 @@ function configure_email_onion {
echo " driver = manualroute";
echo " domains = *.onion";
echo " transport = onion_relay";
#echo " route_data = \${lookup dnsdb{a=\$domain}}";
echo " headers_remove = Received:Message-ID:X-Mailer:User-Agent";
echo " route_data = \${perl{onionLookup}{\$domain}}"
echo " no_more"; } > /etc/exim4/conf.d/router/050_exim4-config-onionrelays