RE: [exim] condition problem

Top Page
Delete this message
Reply to this message
Author: Vahric MUHTARYAN
Date:  
To: 'W B Hacker', exim-users
CC: 
Subject: RE: [exim] condition problem
Hi ,

Okey I changed but same thing happened ..

    Also I don't understand why I have to put additional acl because
exim must be past if condition fail! İsn't it 


Thanks

-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org] On
Behalf Of W B Hacker
Sent: Wednesday, February 08, 2006 2:30 PM
To: exim-users@???
Subject: Re: [exim] condition problem

Vahric MUHTARYAN wrote:

> I made it like this but nothing changed
>
>
>    condition = ${if < {$message_size}{300K}}
>    warn    spam      = nobody:true
> #          condition = ${if <{$message_size}{1M}}
> #          condition = ${if < {$message_size}{300K}}
>            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


The warn verb precedes the body.

Make it like this:

     warn
         condition = ${if < {$message_size}{300K}}
              spam      = nobody:true
  #           condition = ${if <{$message_size}{1M}}
              condition = ${if < {$message_size}{300K}}
              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



You then also need an acl to determine what to do with the
oversize messages that this one should now NOT submit to spamd.

You can probably also get all you need into ONE header, not four.

Bill





--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/