LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Checking Email on my own server (https://www.linuxquestions.org/questions/linux-newbie-8/checking-email-on-my-own-server-388349/)

Feenix566 12-01-2005 01:23 PM

Checking Email on my own server
 
Okay, I know this will probably sound like a simple thing, but that's why I'm posting it in the newbie forum.

How do I check my mail on my server?

I'm running Fedora Core 3. I have a standard installation with Apache, MySQL, and PHP running for my web application. I assume it's running sendmail, too, although I don't recall asking it to do that. I also have a few PHP scripts that I wrote that are running on a regular basis all the time. I set up the automatic script execution with crontab.

In a crontab tutorial, I read that it sends any output from the files to an admin mail account on the server. Now, I know I could just as easily just send the output to a log file, or to /dev/null. But up until reading that, I didn't even know that I HAD a mail account on my server!

How do I check that account?

Poetics 12-01-2005 01:30 PM

If I'm not mistaken, type "mail" as root. :)

Feenix566 12-01-2005 01:51 PM

i tried that. nothing happens. it seems to hang. should i be waiting for something to happen?

Poetics 12-01-2005 02:00 PM

Does it hang on a blank line? A different prompt? Are you able to type anything?

Feenix566 12-01-2005 02:42 PM

I waited for a while and it finally spit out some results. It turns out I've sent myself 2,238 messages since I started running these PHP scripts with crontab. Now I just have to figure out how to delete those messages...

foo_bar_foo 12-01-2005 10:03 PM

use pine
if it's not there just install it or use
mutt i think is anotherone

Feenix566 12-02-2005 09:52 AM

wow! mutt is awesome!

thanx for your help, guys!


All times are GMT -5. The time now is 12:27 AM.