From af7e2c39d788823ccb2cb24f7b884e3acd2d55b0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Mar 2018 13:17:15 +0100 Subject: [PATCH] riseup exim router --- src/freedombone-base-email | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/freedombone-base-email b/src/freedombone-base-email index 6a3144f8..24b05b59 100755 --- a/src/freedombone-base-email +++ b/src/freedombone-base-email @@ -176,8 +176,14 @@ function configure_email_onion { { 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 "# send things over tor where we have an entry for it"; - echo "onionrelays:"; + { echo "riseup:"; + 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 " domains = +onion_relays"; echo " transport = onion_relay";