LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-29-2003, 02:36 PM   #1
Dillweed
LQ Newbie
 
Registered: Aug 2003
Distribution: Slack 9.0
Posts: 7

Rep: Reputation: 0
Questions about MySQL and Mail Server


Hello,

I apologize in advance if this question has already been asked and answered, but searching through the posts I have not come upon a complete answer.

I am trying to set up a mail server so that I can have both pop3 access when I am at my home network and squirrelmail to get email when I am on the road. As I am the only person that will be using the server and I don't anticipate much usage.

My first question is what software do I need to install? After reading some of the other posts they mention many things. So I have decided on:

1. Postfix (because of other posts mentioning that it is good for beginners)
2. Courier-imap for MailDir (anyways that what I think it is for)
3. Apache (webmail)
4. PHP4 so that I can use Squirrelmail
5. MySQL (keep track of preferences and addresses in Squirrelmail)
6. Squirrelmail for obvious reasons

Is this all I need to install and am I assuming the correct usage for each piece of software? I have read some tutorials on setting up a mail server and they all seem to say different things about what software to use to set up an email server and I am trying to do this as minimally as possible. Any suggestions or help would be appreciated.

Next, I have installed MySQL on Slack 9.0 and have it appears to be running okay (time will tell I suppose). My question is when I start the MySQL daemon I get not 1 but 10 new running processes at the cost of 6.3 megs per process. I kind of figure that is normal, but I don't have a lot of memory. Also I am using the my-small.cnf. I was wondering do I need all those running processes and is there a way to cut those processes down to 2-4, thus saving me some memory because I am not using much in the way of database. As I said before I am the only person using the computer. I suppose I should ask do I really need MySQL for addresses or will and LDAP server be easier to set up?

This is getting so confusing to me.

Thanks for the help in advance,
Reid
 
Old 08-29-2003, 03:52 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
First off, I personally don't think you need both IMAP and POP, but if you think you do, feel free to correct me

Second, if you choose to not go with pop, you have the list up there correct. To further that, I've used the exact same tools, and will be more than happy to walk you through any parts that give you a rough time (right off the bat, in your proftpd.conf change the mailbox type to Maildir, you should see the section when it comes up ).

About MySQL, I'm actually not sure how to kill off those processes. I'd suppose you could restrict it by a directive in your .cnf, but I wouldn't know exactly what. And it is powerful, but I'd stick with it personally (because I love it's documentation). I don't use Addresses, but might just set something up so I can assist there as well, get the complete feel for your idea up there.

What distro are you going to run this all off of? Slack9? Just curious more than anything I guess, I'd suggest to get all the source packages you can, and do it that way (except MySQL of course ).

Cool
 
Old 08-30-2003, 12:46 AM   #3
Dillweed
LQ Newbie
 
Registered: Aug 2003
Distribution: Slack 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
Hey thanks so much for the reply and help. Really I suppose I was wondering if I was in the right direction in my thinking. Boy there is a lot of information out there that it gets mindboggling.

As far as POP goes, I want to be able to get my email off the server and on to my home computer. I suppose that I can do this via IMAP. So if you feel that IMAP is sufficient then that is what I will go with.

For the MySQL daemons, I only have 192 megs of memory available (plus swap) and I am trying to not use swap because of performance degradation as I am using an old computer. For this reason I am trying to free up some memory for apache, IRC server and the other daemons running. I agree the documentation for MySQL is very good, but so far I can't find where it talks about how to limit the number of daemons starting up.

Quote:
What distro are you going to run this all off of?
I am using Slack 9. I thought about going to FreeBSD but Slack serves me well. So far I have built everything from sources. Because I am still learning about the *nix world and this provides a good way to learn how things are done and it also allows me to know exactly what it going on. I could probably use some help in the future on setting this up but I will try my hardest to get it going first and by RTFMing to the max.

Thanks again,
Reid
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
a few questions about setting up a mail server sporkit Linux - Networking 12 04-08-2004 05:47 AM
Mail server....quick questions tisource Linux - Software 12 12-15-2003 08:29 PM
Mail server questions linuxnube Linux - Software 0 10-21-2003 11:20 AM
questions about a mail server DKY Linux - Newbie 35 08-01-2003 10:49 AM
Setting up mySQL & Mail Server Artimus Slackware 3 05-12-2003 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration