+ chmod og-rwx /var/lib/tor/hidden_service
+ service tor restart
+ if [ -e "$torhsdir/hostname" ] ; then
+ torhsname=$(cat "$torhsdir/hostname")
+ else
+ echo "error: unable to set up Tor hidden service"
+ exit 1
+ fi
+fi
+
+if dpkg -l exim4-config > /dev/null ; then
+ echo "******************************************************************"
+ echo "* Unable to set up SMTP over Tor, exim4-config already installed *"
+ echo "* Purge the package and try again, or *"
+ echo "* run "dpkg-reconfigure exim4-config" to configure manually. *"
+ echo "******************************************************************"
+ echo "* Enable '$torhsname' as mail domain.