Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-18-2009, 11:39 AM   #1
Registered: Oct 2009
Posts: 40

Rep: Reputation: 0
Question 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
Old 12-18-2009, 11:49 AM   #2
Registered: Oct 2009
Posts: 40

Original Poster
Rep: Reputation: 0

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!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking Last time a user checked their mail? (Postfix) christopher_c Linux - Newbie 3 06-06-2009 03:57 AM
Signal 11 when checking for new mail in KMail dannyboy@kubuntu Ubuntu 1 11-04-2006 07:24 AM
Checking Yahoo! Mail via POP3 johnleemk Linux - Software 7 10-27-2006 05:35 PM
can anyone help? i'm getting error while checking mail ridwan77 Linux - Newbie 2 04-17-2006 08:57 AM
Checking root's mail with ipop3 iroxa Linux - Software 2 05-18-2004 07:00 PM

All times are GMT -5. The time now is 11:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration