Email router sequence for onion domains
This commit is contained in:
parent
c623ddae3c
commit
dbbe101584
|
@ -297,7 +297,7 @@ function configure_email_onion {
|
||||||
echo " headers_remove = Received:Message-ID:X-Mailer:User-Agent";
|
echo " headers_remove = Received:Message-ID:X-Mailer:User-Agent";
|
||||||
echo " headers_add = Message-ID: <\${lc:\${sha1:\$message_id}}@\$sender_address_domain>";
|
echo " headers_add = Message-ID: <\${lc:\${sha1:\$message_id}}@\$sender_address_domain>";
|
||||||
echo " route_data = \${perl{onionLookup}{$RISEUP_EMAIL_ONION}}"
|
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 "onionrelays:";
|
||||||
echo " driver = manualroute";
|
echo " driver = manualroute";
|
||||||
|
@ -306,7 +306,7 @@ function configure_email_onion {
|
||||||
echo " headers_remove = Received:Message-ID:X-Mailer:User-Agent";
|
echo " headers_remove = Received:Message-ID:X-Mailer:User-Agent";
|
||||||
echo " headers_add = Message-ID: <\${lc:\${sha1:\$message_id}}@\$sender_address_domain>";
|
echo " headers_add = Message-ID: <\${lc:\${sha1:\$message_id}}@\$sender_address_domain>";
|
||||||
echo " route_data = \${perl{onionLookup}{\$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 "onion_relay:";
|
||||||
echo " driver = smtp";
|
echo " driver = smtp";
|
||||||
|
|
Loading…
Reference in New Issue