[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Email logging



On Tue, 4 Sep 2001, Norman Reid wrote:

> A few questions..
> 
> (2) Is there a method of gathering Stats on Mail use on the Qube 3,

One of these might work, tho they aren't specificlly for the Qube....

http://www.john-oliver.net/sendmail-tools.html

(A number of different programs for reading sendmail log files and
producing reports)

> (3) And finally - I have asked this before and there either probably
> isn't a way of doing this or people don't agree with the ethics of it
> (which I understand completely and happen to agree with) but...Is there
> a way of trapping outbound emails by either filtering for content or
> storing a percentage of outgoing mails for analysis or storing a copy of
> all outgoing emails. I know I can buy software that will do this for me

If you only need a random sampling, then you could just make a snapshot
of the outbound mail queue at intervals via a cron job that copies all the
files somewhere, the filenames will be unique for a fair amount of time,
tho eventually you will have to clean up ....

Anything fancier than that is going to require some scripting....and
perhaps futzing with the mail config a bit, depends exactlly what you
want to do, i think you didn't get an answer more because you are
covering a 'trivial to humungous-project' range here...

Also, are you really needing to filter outbound? if no-one 'inside' the
qube is sending mail, then you could as easily filter inbound mail that is
going out later....which means you get to use procmail without so much
trouble...

> but I would rather just do all this on the Qube if it were possible.

The qube can do all kinds of kewl things, just a matter of telling it how
-/

gsh