diff --git a/src/freedombone-base-email b/src/freedombone-base-email index aaddc6b3..6a3144f8 100755 --- a/src/freedombone-base-email +++ b/src/freedombone-base-email @@ -174,7 +174,7 @@ function configure_email_onion { echo "}"; } > /etc/exim4/perl-routines.pl { echo "ONION_RELAYDB=/etc/exim4/onionrelay.cdb"; - echo "domainlist onion_relays = cdb;ONION_RELAYDB"; } > /etc/exim4/conf.d/main/01_exim4-config_onion + 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:"; @@ -183,11 +183,11 @@ function configure_email_onion { echo " transport = onion_relay"; echo " # get the automap IP for the onion address from the tor daemon"; echo " route_data = \${perl{onionLookup}{\${lookup{\$domain}cdb{ONION_RELAYDB}}}}"; - echo " no_more"; } > /etc/exim4/conf.d/router/50_exim4-config-onion + echo " no_more"; } > /etc/exim4/conf.d/router/50_exim4-config-onionrelays { echo "onion_relay:"; echo " driver = smtp"; - echo " socks_proxy = 127.0.0.1 port=9050"; } > /etc/exim4/conf.d/transport/50_exim4-config_onion + echo " socks_proxy = 127.0.0.1 port=9050"; } > /etc/exim4/conf.d/transport/50_exim4-config_onion_relay if ! grep -q "AutomapHostsOnResolve" /etc/tor/torrc; then echo 'AutomapHostsOnResolve 1' >> /etc/tor/torrc