Hello,
I've had BATV successfully working for just over a week, but since this
morning signatures are considered invalid when Exim checks them. I am
running 4.69:
Creating the prvs header works. I'm a bit skeptical of the date portion
of the hash, however (the machine's time is correct):
$ exim -d+all -C exim.cf.TEST -be '[EMAIL PROTECTED]'
13:03:53 14086 expanding: [EMAIL PROTECTED]
13:03:53 14086 result: [EMAIL PROTECTED]
13:03:53 14086 expanding: abcd
13:03:53 14086 result: abcd
13:03:53 14086 prvs: hash source is '[EMAIL PROTECTED]'
13:03:53 14086 expanding: [EMAIL PROTECTED]
13:03:53 14086 result: [EMAIL PROTECTED]
13:03:53 14086 search_tidyup called
13:03:53 14086 >>>>>>>>>>>>>>>> Exim pid=14086 terminating with rc=0
>>>>>>>>>>>>>>>>
[EMAIL PROTECTED]
The ACL is:
deny message = invalid or expired BATV signature
senders = :
control = caseful_local_part
condition = ${prvscheck [EMAIL PROTECTED]
!condition = $prvscheck_result
control = caselower_local_part
with BATVKEY = abcd
Incoming messages aren't verified:
$ cat /tmp/ptest
HELO x
MAIL FROM:<>
RCPT TO:<[EMAIL PROTECTED]>
QUIT
$ exim -d+all -C exim.cf.TEST -bh 209.85.237.25 < /tmp/ptest
13:06:15 15374 expanding: [EMAIL PROTECTED]
13:06:15 15374 result: [EMAIL PROTECTED]
13:06:15 15374 prvscheck localpart: jpm
13:06:15 15374 prvscheck key number: 0
13:06:15 15374 prvscheck daystamp: 000
13:06:15 15374 prvscheck hash: b745ee
13:06:15 15374 prvscheck domain: retail-sc.com
13:06:15 15374 expanding: abcd
13:06:15 15374 result: abcd
13:06:15 15374 prvs: hash source is '[EMAIL PROTECTED]'
13:06:15 15374 prvscheck: received hash is b745ee
13:06:15 15374 prvscheck: own hash is b745ee
13:06:15 15374 prvscheck: signature expired, $pvrs_result unset
13:06:15 15374 expanding: 1
13:06:15 15374 result: 1
13:06:15 15374 expanding: ${prvscheck [EMAIL PROTECTED]
13:06:15 15374 result: 1
13:06:15 15374 check condition = ${prvscheck [EMAIL PROTECTED]
13:06:15 15374 = 1
13:06:15 15374 expanding: $prvscheck_result
13:06:15 15374 result:
13:06:15 15374 check !condition = $prvscheck_result
13:06:15 15374 =
13:06:15 15374 check control = caselower_local_part
13:06:15 15374 deny: condition test succeeded
13:06:15 15374 SMTP>> 550 invalid or expired BATV signature
Can somebody kindly tell me where this is going wrong, or what I've
broken?
Thanks,
-JP
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/