LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-15-2004, 12:06 PM   #1
fireshadow
LQ Newbie
 
Registered: Dec 2003
Posts: 4

Rep: Reputation: 0
Question Need opinions. Should I do it myself => web and mail server for family ?


I would like everyones comments on how difficult it is to run one's own webserver. I would like to set up a webserver for my family. The webserver would be for a single domain. Site would include a picture gallery. The same computer would also be a mail server. It's be about 20 mail accounts. Two features I'd like to include is webmail and spam filtering for those accounts.

Bandwidth would be handled by a cable connection. I know I'd have to use something like dyndns.org to help handle name resolution.

Currently, I'm paying for web hosting, but they don't really offer spam filtering. They use an old version of PHP which means I've held off doing a photo gallery.

My skillset is primarily a windows background, but I had to support an AIX server at work. By installing slackware, I taught myself. Hence why I ask this question here.

I've come up with three options:

1) Do it completely myself. Before going this route, I was wanting to get comments.
2) Find another hosting company. Any recommendations ?
3) A happy mix of the first two? Anyone found this ?

Somewhat lengthy, but thanks ahead of time.
 
Old 05-15-2004, 12:26 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

If your fairly happy with working on the commandline and with *nix systems in general then you should be able to do it no problem.

My software reccomendations would be:
Webserver: apache
SMTP: qmail
Mail storage: courier-imap
webmail: squirellmail
spam prevention: spamassasin
Antivirus: clam av
 
Old 05-15-2004, 11:51 PM   #3
fireshadow
LQ Newbie
 
Registered: Dec 2003
Posts: 4

Original Poster
Rep: Reputation: 0
thanks. I'm reading about couier now.
 
Old 05-16-2004, 02:36 AM   #4
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
I only have a couple points to add to David's excellent recommendations.

If you don't have a static IP with your cable connection, consider seeing if you can get one before you setup an mail server. The problem with dynamic IPs and mail servers is that when your IP changes all of your email ends up going to that old IP until you have updated your DNS records and it's had time to propagate (usually 24hrs or so). Worse case senario being it was reassigned to someone else whom also runs a mail server and is now getting all of your mail. Although that's unlikely. However, if it seldom changes and you're not too awefully concerned about loosing an email or 2 in the worse case senario, then it'll probably be fine.

Also make sure your ISP doesn't block inbound/outbound traffic on port 25. A growing number of them are doing that these days. If they only block outbound, then you can get around that by relaying your mail through their server instead of directly connecting to other email servers to send emails. Inbound blockage is a bit more difficult and will most likely require you to pay someone like dnydns to catch all your email and then foward it on to you on a non-standard port that your ISP doesn't block.

Here's a link to a good (I think) toaster for setting up qmail, courier & vpopmail email system:
http://www.shupp.org/toaster/

And why not register yourself a domain while your at it, instead of using dyndns ones?
 
Old 05-16-2004, 07:08 AM   #5
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Just want to offer my two bits,

I did it, and its not that hard at all. I'm running a
AMD Duron 850Mhz
256 SDRAM
40 Gig hard drive
GeForce4MX 440

I even did it on my old
P166, 28Mb ram, 500Mb hard drive

and it worked, but loading up php and using mysql slowed it down.

If you use slackware, you'll find ALOT of help. be it here, linuxpackages.net, or the tutorial pages (http://jetblackz.cjb.net/ for example) (edit: soz, fixed wrong link...)

The hard drive, if 40 gigs, is big enough even to store some movies and music to share around the house. The gfx card is very cheap now, its has the power to do everything you need to do in that box, and is very easy to set up the nvidia drivers for it. You could go for a better cpu, and some more ram though.

make sure you update slackware to current, and have all the packages you need, like apache, etc...

As for the domain name, i'd suggest you ask your ISP how much extra it would cost per month to have a static ip address.. usually its 2 or 3 pounds. IMO, its easier with it.. less hassle.. As for your domain name, check this site out.
http://www.ukreg.com/
i've been using it for a year now, and its alright. they're cheap for .co.uk domains... (something like 6 quid for 2 year contract)

I'll PM you with a link to my site to have a look at what you can do or have in the end when everything works.

Hope this helps a bit... feel free to ask me on any technicalities here and there

Last edited by xushi; 05-16-2004 at 07:09 AM.
 
Old 05-16-2004, 07:47 AM   #6
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Hmm, cant PM you for some reason... Oh well, just add to the url at the bottom
/mail/ (for imap squirrelmail web client)
/forum/ (for php_bb forum.. still empty)
/xushi/ (for a photo gallery...)

its not much, but i like it
 
Old 05-17-2004, 10:30 PM   #7
fireshadow
LQ Newbie
 
Registered: Dec 2003
Posts: 4

Original Poster
Rep: Reputation: 0
thanks to all. what's going to be the best way to handle mail storage?

On the AIX mail server at work, all the mail files were stored in /mail/data on a different physical volume that was raid'ed. I was thinking about doing a similar setup.

I don't know if it would be better to open up a new thread?
 
Old 05-18-2004, 12:26 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I would just raid your /home partition and store all the e-mail in the users folders.
 
Old 05-18-2004, 03:03 PM   #9
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
For the dynamic IP problem, there are several sites out there that you can set up a "static" account with that will transfer all traffic to your new IP every time your ip changes.
 
Old 05-18-2004, 08:34 PM   #10
fireshadow
LQ Newbie
 
Registered: Dec 2003
Posts: 4

Original Poster
Rep: Reputation: 0
one last matter: backups.

I know i could write cron jobs to back up the mail files on a specified time. What happnens when someone has their mai file open when the job runs?

What media do you recommend? I'd imagine cd-burners are supported, but how difficult are they to write to?

Again, thanks for the advice.
 
Old 05-18-2004, 10:23 PM   #11
Kernel 2.6.5
Member
 
Registered: Apr 2004
Location: Canada
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
i used to run my own server like the one you want to setup... i found it was way more convenant to just get a good web host like Bluehost.com they are cheap, and will give you WAY more then you need, plus you get a .com domain included for free!
 
Old 06-19-2004, 11:21 PM   #12
rthornt2004
LQ Newbie
 
Registered: Jun 2004
Location: San Francisco
Distribution: Fedora Core 2
Posts: 2

Rep: Reputation: 0
my two cents.

I just decided to go for it myself this past week . I loaded fedora core 2 and followed some instructions and downloads i got from http://qmailrocks.org for the projects. Being completely new to linux didn't help but I was able to get it all up and running. A couple late nights but the documentation was really good.

I'm testing it now for myself but if all goes well I will be using it to host 500-600 mailboxes and an actual business.

Good luck. Love to hear if you finally went ahead and did it and how it's all working. I also reccommend getting a static ip. I also found a great broadband service on http://sourceforge.net/.

They gave me 8 static IPs and 6.0 download and 768 upload for a great price. Just ordered it last week and am hoping I'll have it soon.
 
  


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
Red hat - Mail Server + web server Porter200EL Linux - Newbie 3 05-05-2005 02:04 AM
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
web and e-mail server Lleb_KCir Linux - General 2 03-18-2004 11:06 PM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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