This commit is contained in:
Bob Mottram 2018-04-05 20:56:07 +01:00
parent 970238c255
commit 1d354614ca
1 changed files with 1 additions and 7 deletions

View File

@ -262,7 +262,7 @@ function configure_email_onion {
create_email_onion_address
#apt-get -yq install tinycdb perl
apt-get -yq install perl
# MX record should be:
# _onion-mx._tcp
@ -271,9 +271,6 @@ function configure_email_onion {
# Test with: exim -d -bt username@$onion_address
#echo "$DEFAULT_DOMAIN_NAME $onion_address" > /etc/exim4/onionrelay.txt
#cdb -m -c -t ~/onionrelay.tmp /etc/exim4/onionrelay.cdb /etc/exim4/onionrelay.txt
{ echo "perl_startup = do '/etc/exim4/perl-routines.pl'";
echo "perl_at_start"; } > /etc/exim4/conf.d/main/00_exim4-config_perl
@ -290,9 +287,6 @@ function configure_email_onion {
echo " return 'no_such_host';";
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/48_exim4-config_onion_relays
{ echo "riseup:";
echo " driver = manualroute";
echo " domains = riseup.net";