Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

debo

macrumors regular
Original poster
Jan 9, 2004
180
0
Ok, I have registered a domain with yahoo, and now I am thinking about mapping it to my IP and using a computer at my house as a webserver and mailserver. My understanding of the process is to just have the router forward to this machine on ports 80 and 25, and have that machine running apache or resin or something. I'm pretty clear on the web side of it. I'm confused with the email side. What programs should I run and how easy is this to set up? Would it be better to use an old Mac or a linux box? Any advice? I'd like to have this running IMAP preferably and then just use Mail on my normal computer to get the mail off of it.
 
POP is the standard mail server port 25
IMAP is the other. i don't remember imap port off the top of my head.
SMTP is the send mail server, but those are usually attacked by spammers. since you don't know what you are doing, i'd suggest you use an external one from you isp.
 
For a list of standard port numbers, start from the Finder, select Go -> Go to Folder..., enter /etc, control-click on file services, and select Open With -> TextEdit (or Open With -> Other... and navigate to TextEdit). Scroll around and see what services typically run on which ports. But don't change the contest of this file!
 
Setting up a webserver is pretty easy, especially on a Mac with Apache. Just turn on 'Personal Web Sharing' in system preferences and put your webpages where it tells you to.

Setting up a mailserver is much more involved. I'm pretty new to the whole linux thing, but I did manage to do it in one evening on Fedora Core by following the excellent guide on this site: http://www.qmailrocks.org/. There's no Mac specific version of the instructions, but I would assume it's possible to get this running on a Mac.

-Tim
 
Well, poking around in the etc folder of Mac OS, i found that postfix has been already been installed. Maybe you can get that working for your IMAP.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.