LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-29-2003, 09:41 PM   #1
debest
LQ Newbie
 
Registered: Aug 2003
Location: Toronto, ON
Distribution: RedHat 9
Posts: 8

Rep: Reputation: 0
Basic fetchmail questions


OK, I know that there is an easy answer out there somewhere, but I need some hand-holding:

I'm using RedHat 9. I want to set up a home mail server to POP my family's 5 mailboxs from my ISP continuously, regardless of whether or not any users are logged in or not. The consensus of most posts that I've seen on home networks seems to be to use fetchmail for the first step of retrieving the mail before handing off to the MTA.

I wasn't sure if fetchmail was installed with RH9. Apparently it is: I typed "fetchmail" at a command prompt, and it responded that "no mailservers have been specified"

At a very basic level, where does fetchmail run? Does each user have to run fetchmail, controlled by their own ".fetchmailrc" file? Is there a way to have a "master" ".fetchmailrc" file that runs continuously, regardless of what users are logged in? If so, in what directory does it go? Does anyone have an example of how they did this? The documentation in the man page, the fetchmail homepage, and Red Hat's Reference Guide are quiet on these points.

Or am I completely out to lunch on what fetchmail is supposed to do? Please help!

Darren Best
 
Old 08-30-2003, 07:35 AM   #2
Cyyb
LQ Newbie
 
Registered: Jul 2002
Location: Calgary, Alberta, Canada
Distribution: Gentoo Workstation / Debian Server
Posts: 21

Rep: Reputation: 15
you can set it up to do more than one account.

create a default fetchmailrc in /etc (note: no period in front). the file will have to be owned by whatever user your fetchmail daemon is going to run as. you will most likely want to make the permissions 700 on that file.

Code:
poll pop.yourisp.net proto pop3
        user "mailuser1", with password "mailpassword1", is "linuxuser1" here;

poll pop.yourisp.net proto pop3
        user "mailuser1", with password "mailpassword2", is "linxuser2" here;
 
  


Reply



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
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 11:50 AM
A Few Basic Questions philipogletree Linux - Newbie 4 07-21-2005 09:51 PM
Just some really basic questions... drxsmurf Linux - Software 6 10-15-2003 03:40 PM
questions about evolution and fetchmail/procmail Pcghost Linux - Software 1 07-08-2003 11:43 AM
The basic configuration of fetchmail whepin Linux - Networking 5 01-05-2002 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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