Download your favorite Linux distribution at LQ ISO.
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 02-11-2009, 11:36 AM   #1
LQ Newbie
Registered: Aug 2008
Posts: 7

Rep: Reputation: 0
Question Fetch mail, periodically


I have this following problem:

At my students room we have this server (running Gentoo), which is used to account the down and upload volume (using freeRadius/Chillispot)from all students.
But we also have this messages/post (PHP/mysql) system on the login page, so when users go to the login page, they see the latest messages, and they can post a message as well.

The problem is that the owner of the student's room also wants to post messages, but he doesn't have a computer. Though he can send emails using his digital tv or something.

This is my solution: I make an email address(, the owner just sends a mail to The server periodically (cron?) checks for new mail at this address, parses the message, and then posts it on the messages system.

How do I achieve this? (checking gmail, retrieving newest message, parsing message so that it can be piped to a script for further processing).

Sorry for my long question, thanks in advance.

Greetz Daan.

P.s. If you have better ideas, tell me please!
Old 02-11-2009, 11:54 AM   #2
Senior Member
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
you could use fetchmail to pull down the messages into a mailbox. Then have a cron job run a script afterward that would look at what ever needed parsing then send them to wherever they need to go.


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
KMail won't fetch e-mail. cwizardone Slackware 20 10-09-2008 01:30 AM
use a linux server to fetch mail for windows clients tanoatlq Linux - Server 2 06-26-2008 03:23 PM
user unable to fetch mail gmitchell Linux - Networking 3 12-17-2004 04:14 AM
Unable to fetch mail via POP3 from Novell server Phaethar Linux - Software 0 07-28-2004 08:15 AM
Send Mail and Fetch Mail? rurbaniak Linux - Newbie 0 02-18-2002 04:09 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:44 PM.

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