[Exim] simple conditional logwrite

Inizio della pagina
Delete this message
Reply to this message
Autore: Thomas Baumann
Data:  
To: exim-users@exim.org
Oggetto: [Exim] simple conditional logwrite
Hello list,

i want to use different logentries within the acl_check_content.

When I use

warn logwrite = ## acl_check_content no spam [$spam_score_int]
     condition = ${if <{$spam_score_int}{55}{1}{0}}


warn logwrite = ## acl_check_content is spam [$spam_score_int]
     condition = ${if >{$spam_score_int}{55}{1}{0}}


I got always 2 logentries like
2004-01-29 13:18:07 1AmB7S-0008Lk-Ud ## acl_check_content no spam [2]
2004-01-29 13:18:07 1AmB7S-0008Lk-Ud ## acl_check_content is spam [2]

But I either want the first (when spam_score_int < 55) or the last
(when spam_score_int >= 55).

Thanks for any help in advance.

Thomas.

--
Thomas Baumann // tirili+list.exim@???

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/