LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-18-2009, 10:39 AM   #1
gvanto
Member
 
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 johnny@john.com (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, 10:49 AM   #2
gvanto
Member
 
Registered: Oct 2009
Posts: 40

Original Poster
Rep: Reputation: 0
Question

in the second last example on this page: http://docs.python.org/library/email-examples.html

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!
g
 
  


Reply


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 4 02-28-2019 08:32 AM
Signal 11 when checking for new mail in KMail dannyboy@kubuntu Ubuntu 1 11-04-2006 06:24 AM
Checking Yahoo! Mail via POP3 johnleemk Linux - Software 7 10-27-2006 04:35 PM
can anyone help? i'm getting error while checking mail ridwan77 Linux - Newbie 2 04-17-2006 07:57 AM
Checking root's mail with ipop3 iroxa Linux - Software 2 05-18-2004 06:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:03 PM.

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