Change filenames
This commit is contained in:
parent
f9079b5845
commit
adf1c2aa66
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue