Re: [exim] ACL problem in 4.64

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jakob Hirsch
Päiväys:  
Vastaanottaja: Nicklas Hardman
Kopio: exim-users
Aihe: Re: [exim] ACL problem in 4.64
Quoting Nicklas Hardman:

> Ok, thanks
> But how do I solve my problem?


First, please don't top post. And use proper quoting.

>> "temporarily rejected after DATA: failed to expand ACL string "${if
>> or
>> {{eq {$sender_address_domain}{hb.se}} {>={$message_size}{100k}}}
>> {0}{1}}": integer expected but "" found inside "or{...}" condition"


Now that I look at it again, it's strange. AFAICS, $message_size is
never empty, but simply 0 before the data ACL. And I have something very
similar in my config.
You are using this in your data ACL, right? (I guess so, otherwise the
"spam =..." should cry out).
Try this:

warn
  message   = X-Spam-Score: $spam_score ($spam_bar)
  condition = ${if !eq {$sender_address_domain}{hb.se}}
  condition = ${if < {$message_size}{100k}}
  hosts     = ! +relay_from_hosts
  spam      = nobody:true