On 01.07.15 19:19, Alex King wrote:
How can I write custom rules that test where the mail came from, ie, the IP address noted by the first received header in my trusted networks?

that should be by internal network, from external network, which means you
have to check for -lastexternal

I've seen http://wiki.apache.org/spamassassin/TrustPath, but it doesn't explain how to do this.

Do I need to add:
add_header all RelaysUntrusted _RELAYSUNTRUSTED_

that should be X-Spam-Relays-External and  _RELAYSEXTERNAL_

I want to do this because there are some senders who are vulnerable to phishing or forgery but still don't bother to use SPF or DKIM. I can work out who they use as outbound servers through by learning from traffic patterns, and I want to give some SA credit when they're sending through known servers.

I would think about local blacklist hitting on -lastexternal
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Honk if you love peace and quiet.

Reply via email to