Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am currently trying to setup a linux mail server for my home network of 3 or 4 computers (windows and linux)
What i want is to download mail from my ISP's POP server onto my mail server and be able to read it from any of the other pc's (while keeping it on the mail server).
I have Fetchmail set up and working ok - mail is delivered to the mail server in /var/spool/mail/ , however that is as far as it gets. Originally i tried using Sendmail (which i couldnt get to work) but i have now got Qmail installed and running - successfully as far as i can tell.
However i still cannot get my mail from the mail server to any of the other pc's.
Is this the way i should be doing it - Fetchmail to collect the mail from my ISP and then Qmail to send it out on my local network?
If so then what is Procmail for? should i be using that somewhere?
Do i need Fetchmail and/or qmail running on the local host where i want the server to deliver mail to?
Do i need DNS set up to do any of the above? (at the moment i dont)
Sorry if this is a bit generic...i just need to know if i'm on the right track
Well if your mail is making it to /var then check to see if your can telnet to port 110 from a client server. This will show whether you have access to pop3; assuming you are not using imap or something.
Yep, sounds like you don't have a pop or imap server running. Your smtp server is working just fine but for the clients to be able to download mail onto their local machine you need to run a pop/imap server. If you choose pop, the port is 110. For imap, it's 143.
Well, first off...do you have a pop server running? If you don't, then probably that's the reason why you got that error. As for your clients, they need a pop client to retrieve the mail off your server. Some pop clients are eudora, thunderbird, outlook, etc...
Try doing "telnet 192.168.1.3 143" and see if it gets a response. I have never used fetchmail and so I wouldn't know how to configure it. Anyhow, I thought fetchmail retrieves mail from a pop server and distributes the mail to different users on your LAN. Therefore, I *don't* think that fetchmail can be used as pop server itself.
You stated that you used fetchmail to retreive mail from your ISP's POP server. Ok so now all the mail is stored correctly. Now for your clients to download their mail off your server, you need to setup a pop server so that their client can access it and retreive the mail. Try installing a pop daemon and then see if that solves your problem, I think it will.
After you install the pop daemon, then try "telnet 192.168.1.3 110" and see if it gets a response. The port 143 is used only for imap.
I'd personally bypass the pop deal, as lately (storage being cheap I'd assume) it seems like IMAP is the way to go, especially if in the near future you feel like adding a web front end to that to read your email (squirrelmail style). And you said you've got qmail working (if so, you shouldn't be placing the incoming mail in /var/mail/spool as that's mbox style, use instead ~/maildir) and install courier-imap (works great with Qmail as it's built by the same programmer IIRC). For the whole package/suite you might just look at courier as the entire mail solution, I don't know if it has the abilities of fetchmail though, but beyond that, it's a great all in 1 solution that can very likely be integrated with fetchmail.