SpamAssassin custom checking - possible?
Posted: 21 Sep 2015 22:07
Hi,
Is there any way you know how to tell SpamAssassin to ignore specific checks like SPF/rDNS/DKIM
but only when it come from specific domain and IP? (my relay domains IPs for example)
i don't want to give-up spam check and make the IP white-listed. (like now)
because i do want SpamAssassin to check even outgoing emails from trusted relay sources.
mail servers relaying through EFA hit SpamAssassin and
SpamAssassin check the originate IP for SPF\rDNS\HELO but here is the thing,
it will not be good check because the EFA itself on their SPF.
Scenario:
relay mail server - IP: 1.1.1.1 Domain: example.com
EFA - IP: 2.2.2.2
example.com SPF - v=spf1 ip4:2.2.2.2 -all
when EFA make the check it fail to see 1.1.1.1 on the SPF.. and this is good
because he is the relaying server to the world for that domain, so only him need to be on the SPF.
get the idea?
i dont want it to make SPF check if it come from 1.1.1.1,this thing related to rDNS/HELO/DKIM also,
any ideas?
Thanks,
Zohman.
Is there any way you know how to tell SpamAssassin to ignore specific checks like SPF/rDNS/DKIM
but only when it come from specific domain and IP? (my relay domains IPs for example)
i don't want to give-up spam check and make the IP white-listed. (like now)
because i do want SpamAssassin to check even outgoing emails from trusted relay sources.
mail servers relaying through EFA hit SpamAssassin and
SpamAssassin check the originate IP for SPF\rDNS\HELO but here is the thing,
it will not be good check because the EFA itself on their SPF.
Scenario:
relay mail server - IP: 1.1.1.1 Domain: example.com
EFA - IP: 2.2.2.2
example.com SPF - v=spf1 ip4:2.2.2.2 -all
when EFA make the check it fail to see 1.1.1.1 on the SPF.. and this is good
because he is the relaying server to the world for that domain, so only him need to be on the SPF.
get the idea?
i dont want it to make SPF check if it come from 1.1.1.1,this thing related to rDNS/HELO/DKIM also,
any ideas?
Thanks,
Zohman.