Welcome to the most active Linux Forum on the web.
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 11-28-2004, 01:19 AM   #1
LQ Newbie
Registered: May 2004
Location: San Antonio, TX
Distribution: Fedora Core 2
Posts: 11

Rep: Reputation: 0
What are the best tools to automate dail-up email pick-up and forwarding?

This seems like it should be straightforward enough, but I've found there can be alot of solutions to a question with Linux.
I am a dial-up internet user at home. I connect using the Network Device Controller and get my email for all my accounts with Evolution. I am running FC2. I run a mediocre web site that allows customer responses and sell the occasional trinket on eBay. I don't run home and check my email everyday - it can be days at a time. This almost never matters because no one contacts me. However, lately I've had some interest at work in my site and it's possible traffic might pick up.
What I wanted to do was set my PC to dial my ISP once a day (or more), pick up any email, filter my email, forward copies to my cell phone that meet certain requirements, and hang-up. This way if I really ever get some customer email, I'll not miss it. Evolution already vFolders my website email seperate from my personal email and I could filter for eBay easy enough, but Evolution doesn't appear to have "forwarding" as an filtering option. Not to mention that neither Evolution nor NDC appear to have any scripting or command line switches avaible from the documentation I've seen so far.
So far the tools I seem to need to learn to accomplish this might be cron, wvdial, and something for the email. I don't really feel much like changing how I view all my email, so my plan isn't to dump Evolution for reading and responding - I have no beef with it. Ultimately, I don't want this service to interfere with day - to - day email use. I want it to run in the background and leave the email on the server. I just want to be tipped off when there is something important to run and download. Thanks in advance.

Old 11-28-2004, 04:04 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
you'd want fetchmail to grab the email. this can run as a scheduled daemon in it's own right, so wouldn't want a cron job to go with it. but then unless you're going to run something like diald then you'll need to manage the dial-up too.. in which case you'd be back to cron, and using fetchmail in it's one-shot mode. just look through the fetchmail docs for details.
Old 12-04-2004, 11:36 PM   #3
LQ Newbie
Registered: May 2004
Location: San Antonio, TX
Distribution: Fedora Core 2
Posts: 11

Original Poster
Rep: Reputation: 0
I took a look at both Fetchmail and Diald. First, I think I'll have to use Cron anyways, because I need to control the time of day the dial-up occurs. Fetchmail's daemon runs on the "seconds since the last connection" schedule which could have unintended results. Fetchmail does sound perfect for grabbing a specific address' email and forwarding all of it to another address, but I didn't see any filtering possibilities in the docs. This would work for one address of mine, but if I can pull this off, I'd love to try sending a few specific emails for my main address as well. Procmail looked promising, but very tedious. I nosed around Sourceforge and found something called Sortmail. Far as I can tell, it's Fetchmail and Procmail's simpler child. Fetches, sorts, sends. Anyone ever heard of it? No mention of it on LQ, but it is not new.

Next is Diald. I'm not sure I want to be continuously running a proxy just for the convenience of dialing out. Weird enough though, I haven't found alot of other solutions either. Lotsa PPP dialers out there, but few dial from the command line and fewer still appear to hang up on their own or through the command line. I already have wvdial, which will start from the command line, but it's unclear to me how I would stop it. I want this all to start up and finish with no intervention on my part. Dialers, anyone?

thanks, trine.


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
Forwarding email Boffy Linux - General 2 03-18-2005 09:43 AM
EMail forwarding Brother Michael Debian 2 05-13-2004 09:19 AM
automate deletion of old email? LC9 Linux - Software 0 12-08-2003 03:03 PM
Forwarding Email sw1tchb0ard Linux - Newbie 1 10-26-2003 07:28 PM
Email Forwarding Nezar Linux - Networking 2 06-12-2001 02:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:39 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