[exim-dev] [Bug 1153] unknown lookup type

Top Page
Delete this message
Reply to this message
Author: Arkadiusz Miskiewicz
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1153] unknown lookup type
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1153




--- Comment #8 from Arkadiusz Miskiewicz <arekm@???>  2011-09-24 09:14:14 ---
   warn message = Test1
        log_message = "Test1: ${address:$rh_From:}{${address:$rh_To:}}"


   warn message = Test2
        log_message = "Test2: ${address:$rh_To:}"
        condition = ${if
match_address{${address:$rh_From:}}{${address:$rh_To:}}}


and

# tail -n 1000 /var/log/exim/main.log |exigrep 1R7NBx-0004px-R9
+++ 1R7NBx-0004px-R9 has not completed +++
2011-09-24 10:02:34 [18597] 1R7NBx-0004px-R9 H=(mailin-ng2.xxx)
[193.25.166.32]:60550 I=[aaa.ip]:25 Warning: "Test1:
some@???{"Undisclosed-Recipient:;"@???}"
2011-09-24 10:02:34 [18597] 1R7NBx-0004px-R9 unknown lookup type ""

So two problems here:

1) no idea why it yelds lookup type error on this

2) "unknown lookup type" should also log some things about the message.
Currently the only thing it logs is: 'unknown lookup type ""'. That's the whole
log about message. Nothing else gets logged... so you can't even tell what
message was lost.


${quote} doesn't help:
condition = ${if
match_address{${quote:${address:$rh_From:}}}{${quote:${address:$rh_To:}}}}


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email