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";