In the perl script /usr/local/sbin/postfix-policyd-spf-perl, (got from
https://launchpad.net/postfix-policyd-spf-perl/)
I see these code:
# ----------------------------------------------------------
# handler: relay exemption
# ----------------------------------------------------------
sub exempt_relay {
my %options = @_;
my $attr = $options{attr};
if ($attr->{client_address} ne '') {
my $client_address = NetAddr::IP->new($attr->{client_address});
return "PREPEND Authentication-Results: $host; none (SPF not
checked for whitelisted relay)"
if grep($_->contains($client_address), relay_addresses);
};
return 'DUNNO';
}
Is there anything I can configure it to whitelist my backup mx IP?
P.S.
I am also reading this article:
https://www.lux-medien.com/blog/policyd-spf-and-whitelisting.html
I may try that if I have to.
Gao