Operating System - HP-UX
1832587 Members
2897 Online
110043 Solutions
New Discussion

sendmail : keyword scanning and statistics of mail per user

 
Deepak_5
Advisor

sendmail : keyword scanning and statistics of mail per user

Hi,

We are using sendmail for sending and receiving
mails.
Here are the questions.

1.Is there a a software (or some R&D on the existing setup) on the mail server
which will look for specific keywords. Keep count of number of such mails by a user and warn the concerned user.
Or, is it possible by configuring sendmail.

2. Keep history data of number of mails sent per month by every user.Monitor this data and
inform the authorized person (email) about such usage so that concerned person can be warned.

Thanks and Regards
Deepak
3 REPLIES 3
David Rodman
Frequent Advisor

Re: sendmail : keyword scanning and statistics of mail per user

If you want your users to be able to check what mail they have been sending and recieving....
You could use the syslog facility.
Sendmail will log at the info level all recieved and sent envelopes and other assorted errors.
You could setup syslog to log mail info to a separate file,
then you would have to parse the log based on the
criteria you want.
This process *will not* allow you to look inside the email if that is what you are looking for.

If it is you might find some virus scanning software that would allow you to define your own patterns.
Fred Martin_1
Valued Contributor

Re: sendmail : keyword scanning and statistics of mail per user

Not sure about #1 - but as to #2, sendmail will log that anyway in /var/adm/syslog/syslog.log or /var/adm/syslog/mail.log

I suspect the level of logging is configurable in /etc/mail/sendmail.cf
fmartin@applicatorssales.com
Shannon Petry
Honored Contributor

Re: sendmail : keyword scanning and statistics of mail per user

The command "mailstats" should be in /usr/sbin, and will give you mail statistics!

The other, is not quite as easy. I have never seen anything that does this with sendmail Try sendmail.org, or deja perhaps, but you may have to use a product like HP Openmail or something....

Regards,
Shannon
Microsoft. When do you want a virus today?