Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Right, I want to set up a decent home network. I have been using Linux on and off for about six months now, and am doing pretty well, so I have high ideas about how to go about this. I currently have two machines, with another one on the way soon (hopefully) and this is what I would like:
One machine has a modem in, this will be on most of the time and will be the machine I use most of the time. It is pretty well specced.
The other machine will be used mostly by my girlfriend, who wants to use Windows.
Both machines have 3Com 3c509b ethernet cards in them.
I have three email accounts with three different ISPs, I would like to set up a local web server, so I can download all the mails to the local server and use IMAP to connect to that from either of the machines. (I figure this way I don't have to worry about fetchmail problems with the `nokeep' option (or not `keep'), which doesn't work on one of the ISPs servers).
I have managed to figure out the networking side (I can browse the net from the non-modem machine), but I am not sure where to start with the web server. I tried using sendmail for just the single machine, but when I tried to send mail it bounced back saying it could not find the host (I couldn't figure out how to send it to my ISP instead of trying to send it direct). I have had a look at qmail, but it says I have to have a working DNS setup (yikes!), which I would prefer to avoid. Fetchmail works, but I don't know how to get the second machine see the local copy.
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602
Rep:
From what I understand you want to download all of you emails (from 3 different ISPs) to your Linux machine and be able to check it from any of the other machines? I would just setup fetchmail to get all of your mail and store it on the Linux machine. Then setup an IMAP server to get your mail from the Linux machine to the others. There is no reason to use the Linux machine for outgoing mail, just continue to use your ISPs smtp server. If I misunderstood your intentions please let me know.
Jeremy,
Thanks for your reply. That is pretty much what I want to do, but the on the Linux machine I want to use Mutt to read and send mail.
Then comes the next bit I was having trouble with. One of my ISPs will only receive emails if I am currently using their dial-up, which I never do because I have to pay connection charges for it. I had a thought that if I use sendmail, or similar, to send the emails that are from that account I could by-pass the ISPs server altogether.
From what I understand this involves local email server looking up MX records for the destination and talking directly to that server whilst rewriting the headers of the mail to appear that it came from the ISP(?) Currently sendmail does not seem to be able to talk to either the ISP's server or any other server, so all outgoing mails are bounced back.
Can anyone clarify this and/or point me in the direction of some useful help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.