diff --git a/src/freedombone-base-email b/src/freedombone-base-email index af06e062..d66e9241 100755 --- a/src/freedombone-base-email +++ b/src/freedombone-base-email @@ -299,7 +299,7 @@ function configure_email_onion { echo " route_data = \${perl{onionLookup}{$RISEUP_EMAIL_ONION}}" echo " no_more"; } > /etc/exim4/conf.d/router/905_exim4-config-riseup - if ! grep -q "*.onion" /etc/exim4/conf.d/router/200_exim4-config_primary + if ! grep -q "*.onion" /etc/exim4/conf.d/router/200_exim4-config_primary; then sed -i 's|domains = ! +local_domains|domains = ! +local_domains : ! *.onion : ! riseup.net|g' /etc/exim4/conf.d/router/200_exim4-config_primary fi