On Tue, Oct 27, 2009 at 6:50 AM, Peter Peltonen <peter.peltonen at gmail.com> wrote: > I got a report that my CentOS 5.4 is used for sending spam. > > >From sendmail maillog I can see that apache has been sending a lot of > email to suspicious addresses. > > Probably one of the many Apache virtual hosts I have is used for > sending spam. But how to find out which one? > > Regards, > Peter > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > What you need is this: http://choon.net/php-mail-header.php But this requires recompiling PHP..