[Exim] improvements to exigrep

Top Page
Delete this message
Reply to this message
Author: Martin H. Sluka
Date:  
To: exim-users
Subject: [Exim] improvements to exigrep
Hi,

the exigrep included in exim 4.30 currently only looks for lines
that belong to message transactions, e.g. if called as
"exigrep -l 1.2.3.4", it will find

2004-03-08 10:28:55 1B0H47-0001we-7b <= foo@??? H=(noris.de) [1.2.3.4] P=esmtp S=24451
2004-03-08 10:28:55 1B0H47-0001we-7b => bla@??? R=smtp_route T=remote_smtp H=foo.noris.de [5.6.7.8]
2004-03-08 10:28:55 1B0H47-0001we-7b Completed

but not

2004-03-08 10:28:55 no host name found for IP address 1.2.3.4

However, since I also need the latter, I extended the script so
that it will also scan those lines without message identifiers in
them. Furthermore, I cleaned up the code a bit and made it "use
strict;" compliant.

My version can be found at <http://martin.sluka.de/tmp/exigrep>
for the next few weeks or so. I'd appreciate if anybody could
include it in the official exim repository or give me a hint on
how to do so.

Regards,
fany.

--
| noris network AG | Martin H. Sluka        | The IT-Outsourcing |
| Kilianstraße 142 | Co-Leitung Technik     |      Company       |
| 90425 Nürnberg   | tel  +49 911 93 52-112 |                    |
| Germany          | fax  +49 911 93 52-100 |   www.noris.net    |