On 8/11/06, Guy Hulbert <[EMAIL PROTECTED]> wrote:
On Fri, 2006-11-08 at 09:47 -0400, Joshua Slive wrote:
> On 8/11/06, Silvio Mazzaro <[EMAIL PROTECTED]> wrote:
> > Guy Hulbert wrote:
> >
> > > What is the problem you are trying to solve ?
> >
> > I'd like to know who's using sendmail from the Web.
> >
<snip>
> > Perhaps It is possible to track system calls from mod_perl, but I'm
> > still studying it... I'll let you know if I find (or someone on this
> > list) a better solution then 'strace'.
>
> I don't know of any way to do this from apache. But you could simply
> replace sendmail with a script that dumps the relevant info to a log
> file before passing parameters on to the real sendmail.
Actually, the sendmail log should give you that much but all the mail is
sent by the user running apache so it would require virtual domains on
the mail side which match the vhosts on the apache side to do much good.
The script would also have access to the CGI env variables, including
precise data on the URL called.
But anyway, this whole thread belongs on the users list.
Joshua.