[Exim] condition

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Funk Gabor
日付:  
To: exim-users
題目: [Exim] condition
I'm trying to create a condition, where message is not scanned for virus if:
- received_protocol is scanned-ok
OR
- header_from=test@??? AND server_ident=www-data AND
received_protocol=local

I created the following condition (formatted for easier reading) but it scans
always (except when scanned-ok I guess). Can someone point out why
it is wrong? I couldn't find such a "sophisticated"(?) example condition on
the web.


condition = "
${if
    or  {
           {eq{$received_protocol}{scanned-ok}}
             {and
                    {
                      {eq{$header_from}{test@???}}
                      {eq{$sender_ident}{www-data}}
                      {eq{$received_protocol}{local}}
                    }
              }
          }          {0}{1}
    }"