riseup exim router

This commit is contained in:
Bob Mottram 2018-03-25 13:17:15 +01:00
parent adf1c2aa66
commit af7e2c39d7
1 changed files with 8 additions and 2 deletions

View File

@ -176,8 +176,14 @@ function configure_email_onion {
{ echo "ONION_RELAYDB=/etc/exim4/onionrelay.cdb"; { echo "ONION_RELAYDB=/etc/exim4/onionrelay.cdb";
echo "domainlist onion_relays = cdb;ONION_RELAYDB"; } > /etc/exim4/conf.d/main/48_exim4-config_onion_relays echo "domainlist onion_relays = cdb;ONION_RELAYDB"; } > /etc/exim4/conf.d/main/48_exim4-config_onion_relays
{ echo "# send things over tor where we have an entry for it"; { echo "riseup:";
echo "onionrelays:"; echo " driver = manualroute";
echo " domains = riseup.net";
echo " transport = onion_relay";
echo " route_data = \${lookup dnsdb{a=wy6zk3pmcwiyhiao.onion}}";
echo " no_more"; } > /etc/exim4/conf.d/router/49_exim4-config-riseup
{ echo "onionrelays:";
echo " driver = manualroute"; echo " driver = manualroute";
echo " domains = +onion_relays"; echo " domains = +onion_relays";
echo " transport = onion_relay"; echo " transport = onion_relay";