[Exim] ACL Adding Headers and Check ...

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Wild Karl-Heinz
Data:  
Para: exim-users
Asunto: [Exim] ACL Adding Headers and Check ...
Hello,

I've build a system with mysql that checks every mail against
the user prefs and set the level for spamassassin.

The aktual problem is that a mail to wkh@???, www@???
adds 2 times a Header in my ACL. In my ACL-Check-DATA i have
the problem that my parameter is not a number -

"60
30"

2252 >>Headers added by MAIL or RCPT ACL:
2252 X-USER-Spam-Level: 60
2252 X-USER-Spam-Chk: true
2252 X-USER-Spam-Delete: 1
2252 X-USER-Spam-Level: 30

In the acl i've tried to check this behavior with

  warn message = X-USER-Spam-Level: ${lookup mysql{MYSQL_SPAM_LEVEL}}
       condition  = ${if and { \
                        { def:h_X-USER-Spam-Level: } \
                        { >{$h_X-User-Spam-Level:}{0} } \
                     }{no}{yes} }


But this doesn't work.

Could anyone give me a hint.

kind regards
Karl-Heinz