LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-07-2003, 06:19 PM   #1
tisource
Member
 
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
Mail server....quick questions


I have been searching LQ.org and Google for a few days now, trying to find some guidance. We're moving all web services from windows to linux (some have already been on linux for some time). I've got just about everything moved over, except mail.

This mail transition has been an interesting one. After searching, I cannot find a "how-to" that is more than 25% relevant to my situation. I figure if I can get a push one way or another that I will be able to get this figured out. I've never done mail on linux before.

My mail server has to be virtual (meaning, I don't want to create console users), and I have to have IMAP. I get the impression that postfix is a good choice for a MTA, and I'm not sure what is the best IMAP daemon. From what I hear, There's Cyrus, Courier and UW IMAP.

I hear that Cyrus has good virtual support, but then you have to configure and install sasl. I am running MDK 9.2, so installed the imap package on the cd, and tried to get it to work. I'm not sure which IMAP server it is. There's no cyrus.conf and the imapd man page says "4.2 Berkeley Distribution" ... so I have no idea what is installed...

Do I have to create users on both the imap and the postfix side to make this work? How do I integrate the two? I'm really lost.
 
Old 12-07-2003, 06:41 PM   #2
PDR60
Member
 
Registered: Aug 2003
Location: Oakland, TN
Distribution: Debian, Kubuntu
Posts: 257

Rep: Reputation: 30
Personally I like SquirrelMail as an IMAP front end. I also use postfix. 99% of the mail servers I install are MS 5.5 Replacements. I usually configure the box to use the "console" users you refer to. Its easy and pretty streight forward. I myself came from an Isp that used sendmail and had 13000 hardcoded users. It ran fine. I suppose that the virtual users that you refer to would be easier but I'm not so sure. I am in the midst of setting up a server with virtual users in the maildirs directory instead of in the spool/mail directory. I'll let you know. One good thing about currier imap is the ability to use a mysql address database. thats cool!!. Currier uses the maildirs system of set up though so go to postfix'es home page and get the instructions. They are pretty strait forward.
 
Old 12-07-2003, 09:59 PM   #3
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
Well, I don't want console users....long story. As far as I understand, Squirrel Mail is not an IMAP server, but an IMAP client that runs on a web server. ...it's a web site.

Thanks for the response.
 
Old 12-08-2003, 10:12 AM   #4
PDR60
Member
 
Registered: Aug 2003
Location: Oakland, TN
Distribution: Debian, Kubuntu
Posts: 257

Rep: Reputation: 30
Thats correct, Squirrelmail is the imap client thats what makes it a front end. For the Imap server I don't think you will go wrong with Currier Imap. It uses the maildirs type of delivery so you should be good to go.
 
Old 12-09-2003, 01:14 AM   #5
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
Hmm....

Well, I'd rather not have system users, but I'd rather have email than none at all. How does this all work if postfix supports virtual users, and imap supports its users. It's supposed to act as one system...a "mail server" -- I'm a little lost. Do I have to create users on both sides, both the imap and the smtp (postfix) side? Is courier hard to install?

Here's my other dilemma, and why I want virtual domains (if possible):
We host two newspaper domains (our paper, and our child paper). Both have the same accounts, but they're managed entirely by different people. Both have to have an editor account, for example. If the email is based on console users, how is that supposed to work? I can't have two seperate editor accounts. I'm not really stuck on anything, so long as it does what I need it to. But multiple domain support is essential.

As you can see, I'm a bit lost! I've never set up a mail server on linux before.
 
Old 12-09-2003, 11:22 AM   #6
PDR60
Member
 
Registered: Aug 2003
Location: Oakland, TN
Distribution: Debian, Kubuntu
Posts: 257

Rep: Reputation: 30
You don't need to use anything other than the Imap that comes with mandrake. What you need tocreat is a virtual domain and point it at regular users. Thats what it sounds like anyway. Have you checked the Postfix site there are tons of ways you can solve your problem. Once you get there read some of the solutions and pick the one that sounds right. As is the case in most things linux.... There are several correct ways of doning things.
 
Old 12-09-2003, 07:47 PM   #7
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
But see, that's where I'm lost. I have checked the postfix site, but I'm still lost.

What is the imap with mandrake 9.2? Is it courier? Is it cyrus? What the heck is it? Maybe I'm making this harder than it is, but I'm just completely lost.

Do you have any suggestions or directions I might go? As I said earlier, I've been scanning through posts for days, it seems. I'm still lost.

I do appreciate your responses. You have any ideas?
 
Old 12-09-2003, 10:28 PM   #8
PDR60
Member
 
Registered: Aug 2003
Location: Oakland, TN
Distribution: Debian, Kubuntu
Posts: 257

Rep: Reputation: 30
Here is the Red hat tutorial. Its prety good and will get you going in the right direction

http://www.redhat.com/support/resour...WTO/book1.html

then this one will help you secure it.

http://www.impsec.org/email-tools/pr...-security.html

Hope this helps. I'm actually putting together a website to answer these questions. It took me a long time to gather the info needed to build servers that we need. Stuff like Samba, mail, web and others. For someone that has never done it, It can be a daunting task.
 
Old 12-13-2003, 10:24 PM   #9
PDR60
Member
 
Registered: Aug 2003
Location: Oakland, TN
Distribution: Debian, Kubuntu
Posts: 257

Rep: Reputation: 30
Any luck yet????
 
Old 12-14-2003, 12:24 PM   #10
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
Actually, no. I've been preoccupied with college finals, and just barely finished them. The mail issue is definitely still on the burner.

Do you know, by chance, which imap daemon installs by default on MDK 9.2? It has no version information as I can tell. Courier?

I'll keep you posted!!
 
Old 12-14-2003, 09:20 PM   #11
PDR60
Member
 
Registered: Aug 2003
Location: Oakland, TN
Distribution: Debian, Kubuntu
Posts: 257

Rep: Reputation: 30
I'm not exactly sure what version of Imap it is but I do know its not Courier.
 
Old 12-15-2003, 01:18 AM   #12
manpreetnehra
Member
 
Registered: Jan 2003
Distribution: Mandrake,Redhat,NetBSD
Posts: 34

Rep: Reputation: 15
You should look for Courier and Postfix
I have configured a
Courier IMAP+Postfix+Virtual Users+Antivirus+Antispam+Squirrelmail
all on redhat but since I have being using Mandrake more frequently I know it the same. Just open google and search for courier and postfix. You will get complete howto. You may try the Postfix site for virtual users. If you still have problems you can ask me.
 
Old 12-15-2003, 08:29 PM   #13
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
Manpreetnehra, my impression of your message is that courier + postfix is capable of virtual users. I thought courier was incapable of such a thing. I was under the impression that cyrus was the only one.

Will write back after I get some more time to work with this, on a less busy day at work.

Thanks for the messages.
 
  


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
a few questions about setting up a mail server sporkit Linux - Networking 12 04-08-2004 05:47 AM
two quick server setup questions cmf5150 *BSD 1 10-23-2003 07:27 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
Mail server questions, MTA ?? explorer1979 Linux - General 4 11-27-2002 10:55 AM

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

All times are GMT -5. The time now is 02:54 AM.

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