Re: Write a custom rule to match sender's ip address.

2015-07-02 Thread Matthias Leisi
> 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

Re: Write a custom rule to match sender's ip address.

2015-07-01 Thread RW
On Wed, 01 Jul 2015 19:19:07 +1200 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? > > I've seen http://wiki.apache.org/spamassassin/TrustPath, but it > doesn't explain how to do

Re: Write a custom rule to match sender's ip address.

2015-07-01 Thread Matus UHLAR - fantomas
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 se