Re: [exim] exim filter for incoming mail to be spam

2018-03-30 Thread Victor Ustugov via Exim-users
Amjad Qasem via Exim-users wrote on 29.03.2018 1:54: > I have test that too doesn't work # cat /usr/local/etc/exim/system_filter-test if "${if forany{${addresses:$rh_from:}}{eq{$item}{a...@b.com}}{yes}{no}}" is "yes" then headers add "X-Spam-Score: 100" endif # echo -e "From: a...@b.com

Re: [exim] exim filter for incoming mail to be spam

2018-03-28 Thread Amjad Qasem via Exim-users
I have test that too doesn't work On 28 March 2018 at 04:46, Victor Ustugov via Exim-users < exim-users@exim.org> wrote: > Amjad Qasem via Exim-users wrote on 27.03.2018 21:01: > > Thanks for your reply > > > > I have tested the below but it' didn't work > > if $h_from: contains "x...@exampl

Re: [exim] exim filter for incoming mail to be spam

2018-03-27 Thread Victor Ustugov via Exim-users
Amjad Qasem via Exim-users wrote on 27.03.2018 21:01: > Thanks for your reply > > I have tested the below but it' didn't work > if $h_from: contains "x...@example.com" > then > headers add X-Spam-Score: 100 > endif untested: if "${if forany{${addresses:$rh_from:}}{eq{$item}

Re: [exim] exim filter for incoming mail to be spam

2018-03-27 Thread Amjad Qasem via Exim-users
Thanks for your reply I have tested the below but it' didn't work if $h_from: contains "x...@example.com" then headers add X-Spam-Score: 100 endif On 26 March 2018 at 23:04, Heiko Schlittermann via Exim-users < exim-users@exim.org> wrote: > Amjad Qasem via Exim-users (So 25

Re: [exim] exim filter for incoming mail to be spam

2018-03-26 Thread Heiko Schlittermann via Exim-users
Amjad Qasem via Exim-users (So 25 Mär 2018 16:16:13 CEST): > Dear all, > > I'm try to add Exim filter to make mail as spam , but I don't know > the command or the action to change the Spam static, as below > > if ("$h_from:" contains "x...@gmail.com") >then > spam_score = 100 ??? > end

[exim] exim filter for incoming mail to be spam

2018-03-26 Thread Amjad Qasem via Exim-users
Dear all, I'm try to add Exim filter to make mail as spam , but I don't know the command or the action to change the Spam static, as below if ("$h_from:" contains "x...@gmail.com") then spam_score = 100 ??? endif or if ("$h_from:" contains "x...@gmail.com") then X-Spam-Score = Y