LinuxQuestions.org
Help answer threads with 0 replies.
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-16-2003, 02:31 PM   #1
Misteree
Member
 
Registered: Jan 2003
Posts: 74

Rep: Reputation: 15
Postfix or sendmail ?


I'm setting up a portal-type website (phpnuke) for a city, and I would like to offer a basic free email service.

Which would be the simplest to deal with; Postfix or sendmail ?
I run Mandrake 9

I read everywhere that sendmail is very complicated.
Since I'm no expert and kinda struggling through all this, I would prefer to stick with the KISS principle, but I'll do whatever it takes if need be...
 
Old 05-16-2003, 03:02 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
qmail is bug free. In my opinion it is essential in case of free email service.
 
Old 05-16-2003, 03:32 PM   #3
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
Postfix is fast secure and very easy to configure.
 
Old 05-16-2003, 03:55 PM   #4
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
I've never found sendmail to be all that difficult. It's very secure and stable out of the box, and is industry standard.

There you go, three differing opinions.
 
Old 05-16-2003, 04:10 PM   #5
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
Sendmail is the most difficult, but the most configurable, by far. It is probably your best option, but study up!

Chris
 
Old 05-16-2003, 05:03 PM   #6
Misteree
Member
 
Registered: Jan 2003
Posts: 74

Original Poster
Rep: Reputation: 15
( I knew I could count on you guys for answers. This forum HAS to be the BEST!)

Quite frankly, I think all of you are right.

For me it's going to be which system will be the easiest all around.
Setting up a mail server is totally unknown territory.

I'm getting into that data overload stage ( Linux, then Apache, then PHP, then MySQL, then phpMyAdmin, then nuke, then bind, then...)
Whao! Burnout! I think my brain has gone and hid under my liver.

So now I need as simple a solution as possible.
I have just spent the last few days reading about (mostly) sendmail and Postfix.
Postfix got installed automatically when I installed Mandrake. So that's one thing done. But...

I'm not sure which one will be the better one for my situation.
I want to offer very basic free email accounts. Nothing fancy.
Receive mail, reply, compose and send it. And that's about it.

Can Postfix do that?
If not, then which one?

And what the hell is Procmail? Is that something i have to know about?
 
Old 05-16-2003, 05:19 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
No, postfix can't do that, as that is not what it's meant to do... postfix and sendmail are MTA's, Mail Transfer Agents, they route email through networks and put it in mailboxes at the end of it's travels around the world. your specifications are nothign more than a webmail interface, such as neomail. you will still need an MTA in the background of course, to actually DO stuff with the mail that they click about and write.

sendmail is ok, a bit cryptic though at times. postfix is fine and dandy, and easier to configure and maintain. Personally i'd recommend a go with http://exim.org it's quite lightweight and absurdly easy to get going.

procmail is used by a number of MTA's to sort mail. e.g. if title contains the word "monkey" put in this folder, if it's from spam.com then throw it away etc... sendmail uses it a lot, exim actually can do that part it self even easier than procmail can, so if you used exim you wouldn't need then. then again though if your MTA is going to always be stuck behing a single web client, then you'd probably want to sort mail within the client...
 
Old 05-16-2003, 06:28 PM   #8
Misteree
Member
 
Registered: Jan 2003
Posts: 74

Original Poster
Rep: Reputation: 15
Excellent!
I'll go and check out exim.

Thanks.

( I'll let you know what happens )
 
Old 05-16-2003, 07:24 PM   #9
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
For webmail, nothing beats squirrelmail http://www.squirrelmail.org/

It works with your existing SMTP server (exim or sendmail) and IMAP server. You can even have LDAP-based address books and utilize a MySQL server to store user's preferences. This might seem a little overcomplicated, but if you are going to offer webmail, squirrelmail is a good place to start, and you can add these features later.
 
Old 05-17-2003, 11:57 PM   #10
Misteree
Member
 
Registered: Jan 2003
Posts: 74

Original Poster
Rep: Reputation: 15
Ok, I'm back with a question.

I've been looking at, and reading up on both SquirrelMail and Exim.

What I'm not sure of at this point is whether either one is an actual replacement for Postfix/sendmail/qmail/etc...

Do I still need, say Postfix, to run in the background?

Am I looking at something like "layers" here?

Postfix at the bottom, then Exim or SquirrellMail in the middle, then the html/php (?) layer where people access their accounts from?

It looks like SquirrellMail has an html interface, but I haven't figgured out yet if it for the admin or subscribers.

Exim has Exim-mon which seems to be for admin.

Do you guys actually run these mail servers ?

( ok, so there's more than one question )
 
Old 05-18-2003, 01:08 AM   #11
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Blog Entries: 4

Rep: Reputation: 78
I use exim, and it works great, Very easy to get going. As I understand it , exim, sendmail, postfix, and qmail are all MTA's, so you will only need one of them....

And yes, I do run a MTA (exim)
 
Old 05-18-2003, 03:16 AM   #12
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
i hear that postfix is more secure than sendmail
 
Old 05-18-2003, 12:05 PM   #13
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Squirrelmail is strictly a html interface for your web users (subscibers) to access their email, without having to configure a Email client. This is similar to hotmail.

I actually run sendmail, uw-imap, squirrelmail, apache /w php, MySQL, and OpenLDAP.

Here's a layered approach for a squrrelmail config:

Your web clients, with a web browser
|
Apache-php
|
Squrrelmail---------Squirrelmail---------Squrrelmail--------- Squirrelmail
|----------------------|----------------|-------------------|
Sendmail___________IMAP___________LDAP___________MySQL
(Outgoing email) (Incoming email) (Address Books) (User Settings)

Last edited by bentz; 05-18-2003 at 12:10 PM.
 
Old 05-18-2003, 05:48 PM   #14
Misteree
Member
 
Registered: Jan 2003
Posts: 74

Original Poster
Rep: Reputation: 15
That's it! That really cleared it up.

It looks like a request is made to Apache, which serves up Squirrelmail, and SquirrellMail is the middle man between the client and the prog that does the work in the background (sendmail/postfix, IMAP, etc...)
Well, close enough anyways.

Am I looking at a lot of command-line stuff here, or are there some GUIs for all these to come to my rescue?

Any install advice? Like install this one before that one, etc...
I have Postfix installed and running, It should be ok, shouldn't it?
Also have MySQL going.

I'll be installing from RPMs.
I have:
libldap2 - (installed)
openldap - (not installed)
openldap-servers - (not installed)
and then there are these which have no explanation as to what they are:
openldap-back_dnssrv - (not installed)
openldap-back_ldap - (not installed)
openldap-back_passwd - (not installed)
openldap-back_sql - (not installed)
openldap-clients - (not installed)

------------------------

php-imap - (installed)
imap - (not installed)

I expect some of them are not needed.
Are there some missing that I should have?
 
Old 05-18-2003, 06:34 PM   #15
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Note that Apache, MySQL, OpenLDAP, Sendmail, and imap are all completely independant of each other. One exception, however, is that php will need to be installed in addition to php-ldap, php-mysql, php-imap. This is that actual interface that squirrelmail uses to talk to these other services.

You'll want to add imap, openldap, openldap-clients and openldap-servers. I don't have any idea about the 'back' ldap packages... they're probably unnessasary.

Unforunately, I don't know of any GUI tools to do this stuff. However, the configuration you are looking for has many steps, but each one is fairly simple and something that someone has done before. You're not reinventing the wheel...

A basic start can be found here: http://www.netikus.net/documents/Lin...stallation.pdf

Doesn't really cover ldap in depth, and doesn't cover squirrelmail or mysql at all. Does help with a simple (despite what you've heard) sendmail configuration & imap install.

I hope all this helps.

Last edited by bentz; 05-18-2003 at 06:35 PM.
 
  


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
postfix vs. sendmail ? zahra79 Linux - Networking 2 10-18-2005 03:04 AM
postfix and sendmail nukeu666 Linux - Software 2 09-19-2005 07:31 PM
Postfix vs Sendmail vs ... mikeghet General 3 05-14-2005 01:27 PM
Postfix or Sendmail Bilal84 Linux - Networking 2 04-29-2005 07:37 AM
Using Postfix instead of Sendmail Santosh_d Linux - General 0 05-18-2004 09:42 AM

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

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