-   Linux - Newbie (
-   -   checking mail for particular user (

gvanto 12-18-2009 10:39 AM

checking mail for particular user
I am logged in as root to my server and trying to get to the mail of a particular user (not root). I have created a mailbox in the 'prohosters' interface (a bit like cpanel) for (under linux user: 'j0hn' I think) but when running the 'mail' command from the command line only seem to get mail for the root user ... ?

I'd like to get any new emails as well for johnny and output their contents - is there a loop to do this help would be much appreciated.

In fact if the script can be run in Python this would be awesome

gvanto 12-18-2009 10:49 AM

in the second last example on this page:

What should I input as the arg[0] (msgfile) ?

I am running RedHat 3.4.5 and have very little knowledge of linux mailboxes unfortunately ...

thanks for any help!

All times are GMT -5. The time now is 12:31 PM.