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

Re: apache: what site is sending email from www-data



Dan MacNeil wrote:
 >You have say, 50 websites running on your webserver
 >(mostly PHP, some  cgi). You start to notice your
 > webserver is sending out HUGE amount of  email
 >(which is spam). Looking at any of the messages
 > in the mail queue, you notice all the messages
 > are coming from www-data@host.mydomain.tld,

We've had pretty good luck with libapache-mod-suphp and libapache2-mod-suphp

They are essentially suExec for php

###########
-------- Original Message --------
Subject: apache: what site is sending email from www-data
Resent-Date: Fri,  5 May 2006 17:18:07 -0500 (CDT)
Resent-From: debian-isp@lists.debian.org
Date: Fri, 05 May 2006 15:18:05 -0700
From: jack <lists@qnorth.net>
To: debian-isp@lists.debian.org

I've had this sort of thing happen a few times, and I'm wondering if
anyone know's any way to figure it out, or prevent it:

You have say, 50 websites running on your webserver (mostly PHP, some
cgi). You start to notice your webserver is sending out HUGE amount of
email (which is spam). Looking at any of the messages in the mail queue,
you notice all the messages are coming from www-data@host.mydomain.tld,
so I know they are coming from apache, but what site is it coming from!?!

I've been curious about running PHP under fastcgi w/apache2 with
FastCGIsuEXEC enabled for each site. From what I understand, doing this
would make the example I gave before send out mail from
(UID-SET)@host.mydomain.tld (rather then www-data) which would do
exactly as I'd want.

What's your experience with this sort of thing? Any suggestions?

Thanks...



Hey Dan,

I'm trying to get suphp going for deb-sarge apache 1.x and I'm curious how you got it to work:

inside my vhost:



suPHP_Engine on

suPHP_UserGroup sysuser sysgroup

yet:
#> apachectl configtest:
Invalid command 'suPHP_UserGroup', perhaps mis-spelled or defined by a module not included in the server configuration

I'm curious to know if/how you got it to work in 1.3. maybe the deb package was patched and the new syntax isn't show in /usr/share/doc/libapache-mod-suphp? Or are you straight up using apache2.x :)

http://lists.marsching.biz/pipermail/suphp/2004-December/000636.html

thanks!



Reply to: