sunhux
asked on
Shell / Perl scripts to compile SMTP usage detail in Sendmail maillogs
Need a Shell and/or Perl script for RHES 5.x / 6.x to will
accept as its parameters the start time+date & end time
+date to get from a sendmail's maillogs :
a) how many outgoing mails for that duration
b) how many incoming mails for that duration
c) amount of bytes incoming & outgoing if it's
logged in maillogs (or tell me how to enable
this if needed)
Our sendmail is the default that comes with RHES 5.8
accept as its parameters the start time+date & end time
+date to get from a sendmail's maillogs :
a) how many outgoing mails for that duration
b) how many incoming mails for that duration
c) amount of bytes incoming & outgoing if it's
logged in maillogs (or tell me how to enable
this if needed)
Our sendmail is the default that comes with RHES 5.8
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Serialband,
Must the tool/analyser be installed in the sendmail server itself?
Might be allowed if we pipe the maillogs to a non-critical test
Linux VM & run this tool on that test VM
Must the tool/analyser be installed in the sendmail server itself?
Might be allowed if we pipe the maillogs to a non-critical test
Linux VM & run this tool on that test VM
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Give me a few more days as my password to the domain was locked
out and the sysadmin was away on leave.
Hi Serialband,
Let me check with my colleague when he's back if freeware is allowed
in our environment (sometimes, we fear freeware has malware in
it & sometimes, the support is not there)