Re: Soft whitelist a specific mx server

2014-06-23 Thread Toni Schornböck
Hi. Thank you, that was exactly what I was looking for. Thanks to everyone that contributed! RW schrieb am 23. Juni 2014 um 13:35 +0200: >On Mon, 23 Jun 2014 13:10:40 +0200 >Toni Schornböck wrote: > >> Hi. >> >> Yes "WHITELIST" all Emails. I don't want to WHITELIST emails. I want >> to score th

Re: Soft whitelist a specific mx server

2014-06-23 Thread Axb
On 06/23/2014 01:35 PM, RW wrote: header GOOD_IP X-Spam-Relays-External =~ /^[^\]]+ip=1\.1\.2\.3\.4 / tflags GOOD_IP nice with that IP you should use: tflags GOOD_IP ugly :)

Re: Soft whitelist a specific mx server

2014-06-23 Thread RW
On Mon, 23 Jun 2014 13:10:40 +0200 Toni Schornböck wrote: > Hi. > > Yes "WHITELIST" all Emails. I don't want to WHITELIST emails. I want > to score those emails. > > My question is the following: > I want to apply a spamassassin rule based on the IP address of the > server that delivered this em

Re: Soft whitelist a specific mx server

2014-06-23 Thread Axb
On 06/23/2014 01:10 PM, Toni Schornböck wrote: Yes "WHITELIST" all Emails. I don't want to WHITELIST emails. I want to score those emails. My question is the following: I want to apply a spamassassin rule based on the IP address of the server that delivered this email to my mailserver. Is this p

Re: Soft whitelist a specific mx server

2014-06-23 Thread Matus UHLAR - fantomas
On 23.06.14 13:10, Toni Schornböck wrote: Yes "WHITELIST" all Emails. I don't want to WHITELIST emails. I want to score those emails. if you read the documentation about whitelist_* directives, you'd find they only _score_ matching e-mails. whitelist_* lowers score by -100, def_whitelist_* by

Re: Soft whitelist a specific mx server

2014-06-23 Thread Toni Schornböck
Hi. Yes "WHITELIST" all Emails. I don't want to WHITELIST emails. I want to score those emails. My question is the following: I want to apply a spamassassin rule based on the IP address of the server that delivered this email to my mailserver. Is this possible? Matus UHLAR - fantomas schrieb am

Re: Soft whitelist a specific mx server

2014-06-23 Thread Matus UHLAR - fantomas
On 23.06.14 09:51, Toni Schornböck wrote: Thanks for the information but whitelist_from_rcvd does whitelist all emails from this server, no, you can also define single whitelisted address for mail from given server. you can also use def_whitelist_* if you want substract only 15 points this i

Re: Soft whitelist a specific mx server

2014-06-23 Thread Toni Schornböck
Hi. Thanks for the information but whitelist_from_rcvd does whitelist all emails from this server, this is not what I want. I just want to downscore mails from this server because I don't trust them. I also can't make them use DKIM, SPF or anything like that. Currently I have some rules in use t

Re: Soft whitelist a specific mx server

2014-06-18 Thread Martin Gregorie
On Wed, 2014-06-18 at 17:33 +0200, Toni Schornböck wrote: > Basically my problem is the following: TheCompany is a business partner of > ours but we get lots of spam mail that claims to be from TheCompany. So > sometimes a correct mail gets caught up in my spamfilter because > spamassassin has a h

Re: Soft whitelist a specific mx server

2014-06-18 Thread Bowie Bailey
On 6/18/2014 11:33 AM, Toni Schornböck wrote: Hi. Is it possible to downscore mails from a specific mailserver? I have hostname and ip, but I don't just want to make a Received-Header rule to downscore it, because the received header can't be trusted. whitelist_from_rcvd See the man page for

Soft whitelist a specific mx server

2014-06-18 Thread Toni Schornböck
Hi. Is it possible to downscore mails from a specific mailserver? I have hostname and ip, but I don't just want to make a Received-Header rule to downscore it, because the received header can't be trusted. I use amavisd-new and postfix on my mailserver to call spamassassin, so spamassassin should