Email time

Michael Janssen Janssen at RZ.UNI-FRANKFURT.DE
Fri Sep 19 15:54:29 IST 2003


On Fri, 19 Sep 2003, Phil Iovino wrote:

> > > This is probably OT, but does anyone know of any scripts that will
> > > report the average amount of time an Email takes to arrive?
> > My goal is
> > > to generate an Email on Server A, then when it's received
> > on Server B,
> > > to somehow report the amount of time it took in between.
> >
> > Assuming your clocks are in sync the email headers will show
> > the flow of the message with timestamps.


> Right, but I'd like to automate the process and report the results. It'd be
> really cool to tie it into mailscanner-mrtg if possible.

You can set up ssh to work without password between both server (this
means using publickey authenification: "man ssh-keygen"). Just start the
eMail on Server A but launch this command via ssh from server B. On
server B you can simply measure the time between sending and receiving
without even parse a Date string.


Michael



More information about the MailScanner mailing list