HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Email activity from www-data? (http://www.howtoforge.com/forums/showthread.php?t=49438)

demortes 14th October 2010 20:19

Email activity from www-data?
 
Greetings,

Is it normal to see email being sent from and to the user www-data with ISPConfig 3? The mail folder is blank, which means something is reading it.

It literally scared me into shutting down my previous iteration, thinking a hacker had gotten into my server (there was some getmail activity too...)

This leaves me to my next question as well, is there any way I can just shutdown the smtp email side and still have PHP scripts work with sendmail, etc?

Thanks,
Kevin

demortes 14th October 2010 20:43

Looks like I found it, it's being sent this message over and over:

Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats.
Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

ISPConfig 3 may have not configure this properly?

till 14th October 2010 20:46

Ensure that you have installed the awstats package of the linux distribution before you turn on awstats support for a website. If you did not install the package first, then this error can occour. In that case, install awstats package, then turn of awstats in the settings of every website and then turn it on again.

demortes 14th October 2010 20:48

It was installed. I found the file for configuration. I don't think ISPConfig is configuring the SiteDomain property. Or didn't for me anyway.

till 14th October 2010 21:02

Please do what I suggested to you and select webalizer again and then awstats. Then check after a few minutes if the domain configuration file has been created in /etc/awstats folder.

demortes 14th October 2010 22:22

Problem is, I did do what you said. I also did the modification mentioned, now I'm getting this...



Create/Update database for config "/etc/awstats/awstats.conf" by AWStats version 6.95 (build 1.943)
>From data in log file "/var/log/apache2/access.log"...
Error: Couldn't open server log file "/var/log/apache2/access.log" : Permission denied
Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).


I do see the file awstats.dethlefsmoreno.com.conf (although nothing was using awstats before my changes to ISPConfig, dethlefsmoreno.com is now.)

till 14th October 2010 22:36

Ok, thats good so far as the awstats.dethlefsmoreno.com.conf is there. Statistics are created once a night, so the awstats statistics should show up tomorrow morning.


All times are GMT +2. The time now is 20:06.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.