From 42d9bb3c152d035e84928a610fdd63cc3f883188 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 5 Apr 2018 19:33:31 +0100 Subject: [PATCH] Remove user agent from email header --- src/freedombone-base-email | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/freedombone-base-email b/src/freedombone-base-email index c1b57fab..74460735 100755 --- a/src/freedombone-base-email +++ b/src/freedombone-base-email @@ -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