SPECmail2000 Workload Development
Sendmail Script User Guide:
-
The script is designed to parse the log files to remove all security concerns.
- it doesn't affect the system significantly
- it runs under 5.0x perl (not under 4.0x) and it doesn't use particular perl modules
- the verbosity level of sendmail should be 8 or 9 (not lower or highter than these)
- To run it:
% perl sendscript.pl file1 file2 file3...
where file1, file2, file3 are the files to parse (I've not used the Compress
module in the script, since it's not a basic module; so, if your log files are
compressed, you should decompress them before the run) and you should also
specify the propper path to reach them.
- In order to have a significant output you should use a 24 hours logs at least (the best way is to use logs which refer to several days).
- There are 4 output files:
- codici_clients
- codici_hosts
- codici_macchina
- output_smtp_sendmail
- About the output files:
- "codici_clients"file:
contains the correspondances between the user name and a code. Every
user has a different code assigned to them (the user name is kept from
the "from" field in the log file)
- "codici_macchina" file:
contains the correspondances between the relay machine and a code
( the relay machine is kept from the "relay" field in the first entry)
- "codici_hosts" file:
contains the correspondance between the name of the machine that
generated the logs and a code
- "output_smtp_sendmail" file:
each row consists of 16 fields:
- user code
- relay machine code
- day
- month (the month number start from 00->January since the timelocal
function accept months numbers between 0-11)
- time (the fields 3,4,5 of the output file are related with the first
log entry ,ie when the user send the mail to the sendmail)
- protocol used
- machine that generated the logs code
- number of recipients
- message size
- day
- month (started from 00)
- time (referred to the delivery attempt)
- the total delay between the time the message was recieved and the
time it was delivered ( "delay" log field). This value is expressed in
seconds.
- the amount of time needed in this delivery attempt ("xdelay" log
field) expressed in seconds
- mailer name
- local/remote delivery: code 1->local; code 2->remote
There's an entry in the output_smtp_sendmail per each mail delivered: this means
that I've considerated the mail queued and then sent, mail sent.
Go To:
[Home]
[SPEC]
[OSG]
[Mail2000]
webmaster@spec.org
Last updated: Fri Oct 8 12:11:10 EDT 1999
Copyright © 1999
Standard Performance Evaluation Corporation
http://www.spec.org/osg/mail2000/workload/scripts/
|