RE: [exim] condition problem

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Vahric MUHTARYAN
Date:  
À: 'Nigel Metheringham'
CC: exim-users, jh, 'W B Hacker'
Sujet: RE: [exim] condition problem
Okey Thanks Nigel and Jakob , :)

I made it like this

   warn    condition = ${if < {$message_size}{300K}}
   spam      = nobody:true
#   warn    spam      = nobody:true
           message   = X-Spam_score: $spam_score\n\
                       X-Spam_score_int: $spam_score_int\n\
                       X-Spam_bar: $spam_bar\n\
                       X-Spam_report: $spam_report


Now still some messages are passing !
Additionaly I have a extra lines below I think I should to make same changes
on it right ?

  warn message = X-New-Subject: !!***SPAM***!! $h_subject:
     spam = nobody


Thanks


-----Original Message-----
From: nigel@??? [mailto:nigel@dev.intechnology.co.uk] On
Behalf Of Nigel Metheringham
Sent: Wednesday, February 08, 2006 2:29 PM
To: Vahric MUHTARYAN
Cc: 'W B Hacker'; exim-users@???
Subject: RE: [exim] condition problem

On Wed, 2006-02-08 at 14:24 +0200, Vahric MUHTARYAN wrote:
> I made it like this but nothing changed


Ah - no - warn is the verb, it must come first. What you have done is
moved the condition to the previous ACL

Change it to:-

   warn    condition = ${if < {$message_size}{300K}}
       spam      = nobody:true
           message   = X-Spam_score: $spam_score\n\
                       X-Spam_score_int: $spam_score_int\n\
                       X-Spam_bar: $spam_bar\n\
                       X-Spam_report: $spam_report


-- 
[ Nigel Metheringham           Nigel.Metheringham@??? ]
[ - Comments in this message are my own and not ITO opinion/policy - ]