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 - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-07-2003, 11:07 AM   #1
dwpondscum
LQ Newbie
 
Registered: Apr 2003
Location: Oklahoma
Distribution: Redhat
Posts: 25

Rep: Reputation: 15
Mail program differences


I am trying to setup a IMAP mail server on SuSE 8.1. I would like to setup a configuration where the server gets mail from the MX setup in Start of Authority and will sort it to the correct mailbox. From there the end user can access via their programs.

While investigating options I have come across several programs. What is the difference between programs like Sendmail and PostFix, and programs like Cyrus-Imap and Unv Washington? I also know that Postfix, etc are MTAs, however, where does that fit in with the overall setup?

Any information would be appreciated.

Thanks!
David
 
Old 05-07-2003, 11:23 AM   #2
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Rep: Reputation: 30
Good questions. I will answer with sendmail as your mta and uw-imap as your imap deamon as that I what I know best.

first, sendmail is your mta as you stated, it listens for incoming smtp connections from other servers. it receives the email, decides whether to relay it or deliver it locally. If it decides to deliver it locally (based on /etc/mail/local-host-names), it will pass it onto a local mailer, '/bin/mail' by default and it then writes the email to the users mail file, usually in /var/spool/mail/<username>. uw-imapd then simply listens on the imap port, 143, for client connections and offers them their inbox in /var/spool/mail and any folders they have set up in their home directories, /home/<username>, which is configurable when building uw-imapd from source....(whew)

does this completely confuse you or answer your question?
 
Old 05-07-2003, 04:10 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
The major difference between all of these things is how they store mail, and how they are configured.

The 3 MTA's I am most familure with are postfix, qmail, and sendmail. Here is a brief description:

sendmail: very basic, comes with most systems. Fairly easy to configure as it doesn't support many options.

postfix: very powerful. Easy to configure and can be made to support many cool options such as Maildir (better way to store mail then mbox) and stuff like that. Many mission critical mail servers use this software. This makes it very easy to not run an open-relay (please don't run an open relay).

qmail: The source code hasn't changed since 1998. The reason is it just plain works, and it has never been broken into. Problem is the only way to get some newer features is patching the source, as DJB (The author) didn't GPL the software. That said, once it is patched and running it is easily on par wiht postfix in features, speed, and ease of use. Problem is the initial setup. As it was written by a security expert (http://cr.yp.to ) you can be sure it is secure. Qmail also uses Maildir's and regardless of what you use as an MTA I recommend you look into Maildir's. Read the README.maildir file in the qmail source to see DJB's explination as to why.

As was said before, the MTA handles mail delivery. Its job is to accept mail through the SMTP port and deliver it to the local machine. It is also used to deliver mail from the local machine to other SMTP servers. If setup correctly an MTA will only deliver mail to remote accounts if a) the sender has gone through an authentication process, or b) the sender is sending from the local machine. Anything else is considered an open relay, which helps spammers deliver spam without easily being catchable.

As far as IMAP goes, that is a protocol you use to connect to read your mail. The two servers I hear of the most are uw-imap and courier-imap.

The only one I have ever used was courier-imap. The reason for this is most large system admins I have talked to swear by it and it fully supports Maildirs with no patches or trouble. Supposivly it is the ONLY imap server with out of the box Maildir support.


If you decide to go the qmail route I can help as far as pointing out good patches and tell you how to install the qmail-scanner, which virus checks all e-mails that pass through the system (both directions). I can also help out with any courier-imap problems you might have.

Last edited by jtshaw; 05-07-2003 at 04:13 PM.
 
  


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
Best Mail program? cultavix Linux - Software 9 04-14-2005 12:33 PM
mail using a C program linuxprogrammer Programming 5 07-21-2004 12:08 AM
The old mail program jeempc Linux - Software 3 10-14-2003 10:04 PM
which mail program ? jamaso Slackware 6 05-15-2002 08:37 AM
e-mail program NSKL Linux - General 6 03-05-2002 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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