v3 onions for email

This commit is contained in:
Bob Mottram 2018-03-23 22:28:53 +00:00
parent 999a357e91
commit f9079b5845
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ function configure_email_onion {
if ! grep -q "hidden_service_email" /etc/tor/torrc; then
{ echo 'HiddenServiceDir /var/lib/tor/hidden_service_email/';
echo 'HiddenServiceVersion 3';
echo 'HiddenServicePort 25 127.0.0.1:25';
echo 'HiddenServicePort 587 127.0.0.1:587';
echo 'HiddenServicePort 465 127.0.0.1:465'; } >> /etc/tor/torrc