Email router sequence for onion domains

This commit is contained in:
Bob Mottram 2018-04-06 13:21:54 +01:00
parent c623ddae3c
commit dbbe101584
1 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ function configure_email_onion {
echo " headers_remove = Received:Message-ID:X-Mailer:User-Agent";
echo " headers_add = Message-ID: <\${lc:\${sha1:\$message_id}}@\$sender_address_domain>";
echo " route_data = \${perl{onionLookup}{$RISEUP_EMAIL_ONION}}"
echo " no_more"; } > /etc/exim4/conf.d/router/049_exim4-config-riseup
echo " no_more"; } > /etc/exim4/conf.d/router/905_exim4-config-riseup
{ echo "onionrelays:";
echo " driver = manualroute";
@ -306,7 +306,7 @@ function configure_email_onion {
echo " headers_remove = Received:Message-ID:X-Mailer:User-Agent";
echo " headers_add = Message-ID: <\${lc:\${sha1:\$message_id}}@\$sender_address_domain>";
echo " route_data = \${perl{onionLookup}{\$domain}}"
echo " no_more"; } > /etc/exim4/conf.d/router/050_exim4-config-onionrelays
echo " no_more"; } > /etc/exim4/conf.d/router/910_exim4-config-onionrelays
{ echo "onion_relay:";
echo " driver = smtp";