am 20.12.04 12:48 schrieb Odhiambo G. Washington:
> * Peter Velan <pv0001@???> [20041220 13:04]: wrote:
>> Hello,
>>
>> I like the format of exim-logs, but this doesn't allways reflect what is
>> going out to and comming in from hosts connecting to my machine.
>
> I don't understand your point. So what is it that you like about logs
> that "don't show" what you want? ;)
You're right, what I wrote is not very clear.
Exim logs are perfect if I want to extract details about senders, IPs,
receivers, rejects, etc. But if I want to see what is exactly going on
in the real SMTP protocol, I could miss something or I see too much.
E.g. something which is written to logs via "logwrite" doesn't appear on
the "SMTP line".
There are some (rare) circumstances, where I would like to see the
"real" SMTP protocol, e.g. something like this (taken from my old MTA
running under Windows NT):
Wed, 10 Nov 2004 00:26:11 +0100
*** SMTP-User foreign-IP connect
<-- 220 my.mta Exim x.x Wed, 10 Nov 2004 00:26:10 +0100
--> EHLO foreign.mta
<-- 250-my.mta Hello foreign-IP
<-- 250-EXPN
<-- 250-SIZE
<-- 250-ETRN
<-- 250-AUTH CRAM-MD5 LOGIN PLAIN
<-- 250 HELP
--> MAIL FROM:<xyz@???> SIZE=1707
<-- 250 <xyz@???>, sender ok
--> RCPT TO:<mylocalpart@???>
<-- 250 1stname name <mylocalpart@???>
--> DATA
<-- 354 Start mail input, terminate with '<CRLF>.<CRLF>'
<-- 250 1712 bytes received in 0,431 seconds
--> QUIT
<-- 221 foreign.mta closing connection
> Anyway, what Exim writes to the log files is determined by, amongst
> other things, the options you give to "log_selector". If you grep
> for that from your Exim config file, what do you have? You could
> as well check the different options that are accepted by this
> parameter. See spec.txt.
Thank You, I know about "log_selector" and has customized my exim-logs
already.
>> What must I do, to have an exact local copy of the SMTP protocol with
>> the outside world (I mean something looking like a manual SMTP-sesssion
>> via telnet)?
>
> You want all that verbose information? Then just play with log_selector,
> but please remember - Exim is Exim! It's not MDaemon, it's not Sendmail,
> etc. It's Exim, with it's own style.
Yep, I know ... and I really like the style of Exim. But yes, there are
some situations, where I would prefer to see the exact SMTP
communication. May be there's another tool in the Linux-Toolbox which
could log whats going on on port 25 (no, I don't mean a full network
sniffer).