From c976e1ebd98e6d939d8389ffe669f17835e0c0dc Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 21 Mar 2014 16:55:05 +0100 Subject: [PATCH] Fix AllowedRemoteIP (SPF Whitelist) --- root/etc/e-smith/templates/var/service/tinydns/root/data/85Spf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/var/service/tinydns/root/data/85Spf b/root/etc/e-smith/templates/var/service/tinydns/root/data/85Spf index 7153f2e..7c3b8fc 100644 --- a/root/etc/e-smith/templates/var/service/tinydns/root/data/85Spf +++ b/root/etc/e-smith/templates/var/service/tinydns/root/data/85Spf @@ -3,7 +3,7 @@ $OUT .= "# SPF entries for local domains\n"; my $allowed = ''; foreach my $ip ( split /[;,]/, ($qpsmtpd{AllowedRemoteIP} || '')){ - my $allowed .= 'ip4\072'.$ip.' '; + $allowed .= 'ip4\072'.$ip.' '; } foreach my $domain (get_domains()){ $OUT .= "'$domain:v=spf1 mx $allowed-all:3600\n";