Knowledgebase

Portal Home > Knowledgebase > Articles Database > You have a mail. What does this mean??


You have a mail. What does this mean??




Posted by imoracle, 06-15-2008, 06:51 AM
Hi, I opened up my VPS bash today and I saw a message like this: Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent .......................... .......................... You have a mail. bash:~# Now I am confused from where have I received a mail, and even if I have received it why doesn't it shows in Google Apps?? I have set the MX Entries correctly and when I sent a mail specifically to admin@mysite.com , I do get a mail in google apps. Anyways where does this mail lie, how can I view this mail ?? I installed postfix as my mailing server. Thanks in advance, Imoracle

Posted by imoracle, 06-15-2008, 06:58 AM
I just checked the mail folder through webmin and here is what I can see: ---------------------------------------------------------------- From: root@mail.mysite.com To: root@mail.mysite.com Subject: Cron test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) /etc/cron.daily/logrotate: apache2: Could not reliably determine the server's fully qualified domain name, using mysite.com for ServerName apache2: Could not reliably determine the server's fully qualified domain name, using mysite.com for ServerName ------------------------------------------------------------- Now what does this mail boss I never setup any cron process, then why this mail and how come my site is sending a mail to itself ?? Thanks in advance, Imoracle

Posted by WCTisha, 06-15-2008, 07:14 AM
it is a system cron, logrotate program, you just need to define the ServerName in httpd.conf...

Posted by imoracle, 06-15-2008, 07:17 AM
You mean in the /etc/apache2/site-enabled/000-default ?? My VPS actually shows the httpd.conf file blank. May be with apache2 the config is done in apache.conf and the files in site-enabled and site-available folders.

Posted by imoracle, 06-15-2008, 07:30 AM
I changed my 000-default file under /etc/apache2/site-enabled/000-default to look like this: NameVirtualHost * ServerAdmin admin@mysite.com DocumentRoot /var/www/ ServerName www.mysite.com . . . Then i saved and come out and typed this command. /etc/init.d/apache2 restart and I still gets a warning my apache saying: Forcing reload of web server (apache2)...apache2: Could not reliably determine the server's fully qualified domain name, using mysite.com for ServerName httpd (no pid file) not running apache2: Could not reliably determine the server's fully qualified domain name, using mysite.com for ServerName Is there any other place I need to specify the same ?? I guess I will start having problems once I start parking more than a single domain. Imoracle

Posted by Lsupport, 06-16-2008, 02:31 AM
Use the ServerName directive to set the hostname of the server. http://httpd.apache.org/docs/2.0/mod/core.html#servername

Posted by Steve_Arm, 06-16-2008, 02:44 AM
Use the IP for ServerName for the default site (first vhost).



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read


Language:

Contact us