[exim] BATV implementation generates paniclog if sender cont…

Top Page
Delete this message
Reply to this message
Author: tropfstein
Date:  
To: exim-users
Subject: [exim] BATV implementation generates paniclog if sender contains uppercase letters
Hello list,

I implemented BATV in my exim-installation like it is described in
this thread: http://www.exim-users.org/forums/showthread.php?t=51895
I also tried the method described in the official exim-book, but I get
the same results.

As far as I can tell it works flawless until it comes to senders which
include uppercase letters.
Let me show you this example.

#exigrep jack.hartlerode@??? /var/log/exim_mainlog

2007-12-03 21:14:03 1IzHfu-0001bq-F3 <=
Jack.Hartlerode@??? H=mail02.mittalsteelusa.com
[156.144.250.105] P=esmtp S=7856
id=F90F1FD583C1EE4CA0BC8C2C6F4338B00567CBD9@???
T="GATE POSITION"

2007-12-03 21:14:14 1IzHfu-0001bq-F3 ** quexec@???
<info@???> R=lookuphost T=remote_smtp: SMTP error from remote
mail server after RCPT TO:<quexec@???>: host malta.interxyz.com
[254.25.15.7]: 550 5.1.7
<prvs=0857f6fca6=Jack.Hartlerode@???>: Sender address
rejected: undeliverable address: host smtp.arcelor.com[194.154.218.9]
said: 550 Unrouteable address (in reply to RCPT TO command)

2007-12-03 21:14:14 1IzHfu-0001bq-F3 Completed
+++ 1IzHgE-0001gR-DD has not completed +++

2007-12-03 21:14:14 1IzHgE-0001gR-DD <= <> R=1IzHfu-0001bq-F3
U=mailnull P=local S=9059 T="Mail delivery failed: returning message
to sender"

2007-12-03 21:14:14 1IzHgE-0001gR-DD ==
jack.hartlerode@??? <Jack.Hartlerode@???>
R=lookuphost T=remote_smtp defer (-1): Failed to expand return path
"${prvs {$return_path}{cyonbatvstring}}": prvs first argument must be
a qualified email address

A you can see in the last line, <Jack.Hartlerode@???>
has uppercase letters in it.

Here is the header of the mail:

1IzHbE-0001gX-DD-H
mailnull 47 12
<>
1196712854 0
-ident mailnull
-received_protocol local
-body_linecount 194
-max_received_linelength 134
-allow_unqualified_recipient
-allow_unqualified_sender
-localerror
XX
1
Jack.Hartlerode@???

160P Received: from mailnull by serverxx.hostname.com with local (Exim 4.68)
        id 1IzHgE-0001gR-DD
        for Jack.Hartlerode@???; Mon, 03 Dec 2007 21:14:14 +0100
038  X-Failed-Recipients: quexec@???
029  Auto-Submitted: auto-replied
060F From: Mail Delivery System <Mailer-Daemon@???>
038T To: Jack.Hartlerode@???
059  Subject: Mail delivery failed: returning message to sender
049I Message-Id: <E1IzHbE-0001gX-DD@???>
038  Date: Mon, 03 Dec 2007 21:14:14 +0100


I'm not totally sure if the uppercase letters are the only problem,
but it seems to be the only pattern that matches.
There are hundreds of other mail which don't generate such errors.

Has anyone out there a clue about this?

Many thanks in advance,
tropfstein