Has anyone figured out a way to get the syslog more intuitive? Now all we can see from the log is that something happened with Apache. This will not tell us who did it. And yet almost all our sites all ready use ISPConfig3's suPHP and suExec. Any way to replace the www-data with webNR?
If you are using postfix, you could try this: Create this file: echo "[email protected] [email protected]" >> /etc/postfix/sender_canonical Next, run the following commands: postmap hash:/etc/postfix/sender_canonical postconf -e "sender_canonical_maps=hash:/etc/postfix/sender_canonical" Finally, restart postfix /etc/init.d/postfix restart Try to send mail and post results here. This will change www-data for no-reply, but it will work for every site in the same way... If you want to have a different behavior per site, you must declare a path por sendmail in php.ini, create a script to intercept mail, validate from direction, if it is "www..." you must consult which domain is seding mail (I don't know is the are available variables for this in sendmail, but I think you can get path of file sending mail and with that get the sender domain) and as a final step, replace to "from" of the mail. Regards
An easy way is enable mail.log in php.ini: http://www.howtoforge.com/forums/showthread.php?t=53617 Cheers
I like that solution. How ever we have decided to block all php based email in the firewall. So still not quite there.
I run all joomla sites ih fastcgi, it works great. Running joomla with mod php is a high security risk by the way.
suPHP We prefer suPHP for Joomla. Not so many problems with 3rd party Extensions and quite many setup's fail with FastCGI but not with suPHP.
Suphp is very slow and wastes resources by starting a new php interpreter for each request. If you enable suexec, then fastcgi behaves similar to suphp an no extension should fail. I guess your customers will appreaciate it when their sites get much faster and you need less servers to serve the same amount of pages. You should give it a try.