Ted Zlatanov wrote:
What loglevel do you have qmail set at? I don't think I have my logging set to gather enough information right now to make this work. When I run these commands, all I get is "ID date from". My logs look like this:On 21 Jul 2004, [EMAIL PROTECTED] wrote:
What would a command line look like using this script? Could you please give
an example with and withough TAI64 filtering?
(just the last 5000 lines)
tail -5000 /var/qmail/log/qmail-smtpd/current | tai64nlocal | ./qmail-smtpd-summary.pl tail -5000 /var/qmail/log/qmail-smtpd/current ./qmail-smtpd-summary.pl
(the whole file)
./qmail-smtpd-summary.pl /var/qmail/log/qmail-smtpd/current
tai64nlocal < /var/qmail/log/qmail-smtpd/current | ./qmail-smtpd-summary.pl
qmail-smtpd-summary.pl is a standard Unix filter, you give it filenames or STDIN data and it will do the right thing (well, Perl will :)
@4000000040feb03f2b3e751c qmail-smtpd 4046: message queued: 1090433077 qp 4050
@4000000040feb03f2eaccc94 tcpserver: end 4046 status 0
@4000000040feb03f2eacebd4 tcpserver: status: 12/100
@4000000040feb03f34e9ebdc qmail-smtpd 4041: message queued: 1090433077 qp 4049
@4000000040feb04006834e14 tcpserver: end 4041 status 0
@4000000040feb04006836d54 tcpserver: status: 11/100
@4000000040feb04007b2e0ec tcpserver: status: 12/100
@4000000040feb04007b73e1c tcpserver: pid 4074 from 10.1.191.213
@4000000040feb04007c9bc7c tcpserver: ok 4074 0:172.30.1.11:25 :10.1.191.213::1316
@4000000040feb04007f9773c qmail-smtpd 4074: connection from 10.1.191.213 (unknown) to 0
@4000000040feb04007f9d114 qmail-smtpd 4074: enabled options: relayclient qmailqueue /var/qmail/bin/qmail-scanner-queue.pl
Thanks again. Brian!
