LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-16-2004, 07:19 AM   #1
htm
Member
 
Registered: Mar 2004
Posts: 162

Rep: Reputation: 30
custom mail server issues


We are moving from web-hosting based email server to our own server,
so we have set up own own, while it is relatively easy to configure mail
client like OutLook etc. for working with a web-hosting based email server,
we have 2 questions wanna get helps from you guys:

1. In redhat 9.0, which service needs to be enabled to set up SMTP server?

2. Our server is outside our LAN, and our LAN has an internal server with
a proxy in squid, in that case, how to configure our mail client like
OutLook to make it woking like without the proxy?

Thx,
HTM
 
Old 03-16-2004, 10:18 AM   #2
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
1. That depends on the program you want to use for your email server. Sendmail come with RH9, I know. I kind of think Postfix does to but I'm not sure. Many people here recommend postfix because it is more secure and easier to configure. I've never used it, but that is what I understand. If it doesn't come with it you could always install it. If you want to use sendmail as your email server then you will use the sendmail service. Which ever one you use, make sure to upgrade to the most recent version of it.

2. I guess you'll just have to go to each client and change the incoming and ougoing mail addresses in the configuration.
 
Old 03-16-2004, 10:32 AM   #3
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
how about qmail?

Thx for your reply.

What is the easy yet safe way on installing such an email
server? Is Qmail good? Is there any step-by-step tutorials sepcially for
Redhat 9.0?

Thx,
HTM
 
Old 03-16-2004, 10:53 AM   #4
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Ususally the best way to get the latest version of a product is to go to official site and download it and compile from source. You can sometimes find an RPM of it, but you may not find the latest version of the product.

I've never really seen a good how-to. I suspect it is because everybody needs to configure for their own needs. A cover-all-how-to would be too big. I have seen a few by searching google pretty hard. Setting up an email server is basically the same for RH as it would be for, say Slackware.... for the most part, that is.

Really you need to read all the documentation that you can to configure it correctly.

I've never used qmail.
 
Old 03-16-2004, 10:56 AM   #5
larstj
LQ Newbie
 
Registered: Mar 2003
Location: Denmark
Distribution: Slackware and Gentoo
Posts: 20

Rep: Reputation: 0
You should strongly consider using Postfix. It's easy to configure, yet powerful and secure. Also it acts as a sendmail drop-in, making it a lot easier to work with programs expecting a sendmail installation.

I don't know if there's a postfix rpm for redhat, but otherwise you should just download and compile it yourself.

Extensive documentation and download mirrors, can be found at:

http://www.postfix.org/

Good installation instructions and readme is included with the source.

Regards
/LTJ
 
Old 03-16-2004, 11:48 AM   #6
csm
Red Hat GLS
 
Registered: Mar 2004
Location: Cary, NC
Distribution: RHEL3 and Fedora
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by larstj
You should strongly consider using Postfix. It's easy to configure, yet powerful and secure. Also it acts as a sendmail drop-in, making it a lot easier to work with programs expecting a sendmail installation.

I don't know if there's a postfix rpm for redhat, but otherwise you should just download and compile it yourself.

Extensive documentation and download mirrors, can be found at:

http://www.postfix.org/

Good installation instructions and readme is included with the source.

Regards
/LTJ
As root run "redhat-config-switchmail" and you will be allowed to choose between sendmail and postfix. If postfix does not show up as an option install the postfix rpm.

For configuration you should refer to Red Hat's documentation. If you are choosing sendmail you must ensure that the sendmail-cf rpm is installed prior to attempting to run the m4 tool to generate a new sendmail.cf.

For postfix configuration refer to http://postfix.org as the doc's there are much more complete.
 
Old 03-16-2004, 11:49 AM   #7
csm
Red Hat GLS
 
Registered: Mar 2004
Location: Cary, NC
Distribution: RHEL3 and Fedora
Posts: 5

Rep: Reputation: 0
Re: how about qmail?

Quote:
Originally posted by htm
Thx for your reply.

What is the easy yet safe way on installing such an email
server? Is Qmail good? Is there any step-by-step tutorials sepcially for
Redhat 9.0?

Thx,
HTM
It would probably be better to stick with open source products. I know a lot of people like qmail and I will not argue that it is good or bad... my only argument is that I cannot patch it and then redistribute my patched version. Thus... IMHO it is not open source.
 
Old 03-17-2004, 08:30 AM   #8
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
Folks,

Great, from my understanding, if the best open source STMP mail server is
postfix, what about the best open source mail client, SquirrelMail or what?
BTW are those anti-spam etc. necessary? On windwos side (since our LAN is
a mix of Windows and Linux), wht is the best mail client?

Thx a ton,
HTM
 
Old 03-17-2004, 09:29 AM   #9
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Squirrelmail is used if you want to have webmail. I installed it to play around with it one time and it wasn't that bad. I've never used it in any kind of real world environment. If you have a mix of Win and Linux then maybe you should think about using Mozilla's mail client. It come in the browser, mail client, chat client, etc bundle. They have a stand alone mail client called Thunderbird, but it has not reached version 1.0 quite yet so they suggest you don't use it for anything mission critical. Using some sort of cross platform mail client would be good becuase that is only 1 thing to support as far as mail clients go.
 
Old 03-17-2004, 08:40 PM   #10
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
Thx a lot, I gonna try Mozilla's mail client instead of SquirrelMail

Does Mozilla's mail client also run on Windows? How about OutLook working
with Postfix?

Also do you have suggestions of anti-spam add-ons such as Spam-Assiignn?

Thx,
HTM
 
Old 03-17-2004, 09:20 PM   #11
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
Is is the right one I should get?

Thunderbird 0.5

An e-mail and newsgroup client with powerful, new junk mail controls.

download: Windows (7.5MB), Linux (10.5MB), Mac OS X (11.0MB), More¡_




Thx a lot,

HTM
 
Old 03-17-2004, 09:44 PM   #12
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Thunderbird is still in a "beta" stage. If you don't have a mission critical use for it, then it is fine. Otherwise you should go with.Mozilla 1.6. It has a mail client included with it.

The client you use is independent from your server. If you use Postfix then you can use Outlook, Mozilla, thunderbird, pine, whatever. What really matters is the protocol they use between them (probably pop or imap). There are execptions to this (namely Lotus Domino/Notes), but for the most part it is true.
 
Old 03-18-2004, 09:15 AM   #13
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
sendmail's security issues

Finally I decide to configure sendmail (just as one of Rehat's services)
to work with Mozilla 1.6 mail clients (both on Linux and Windows), my only
concenr is its security issus, it is said the new sendmail installed on Redhat 9.0
from sendmail Inc is much better, is that true? BTW, does anyone know standard
or sample configuration for sendmail for a central server outside a LAN mixed with
Windows and Linux under a local server as a proxy?

Also since Mozilla mail client has built-in anti-spam mechenism, so I don't need
any similar add-on, is that right?

One more question, looks like both qmail and postfix has database support, does
sendmail have such option?

Thx,
HTM
 
Old 03-18-2004, 09:40 AM   #14
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
If security is your concern then maybe you shouldn't use the sendmail that came with redhat. It is about 4 versions old if I remember correctly. If anything upgrade that to the latest version of sendmail. But again, Postfix is supposed to be more secure than Sendmail.

Sendmail Inc. is a pay-for version of sendmail. It is based off sendmail, but you pay for the enhancements and support and whatnot. It is located at sendmail.com (as opposed to sendmail.org).

Is there any reason you don't want to use any anit-spam measures at the server level? I use RBLs (DNS Blacklist) and I find it to work very well. Not perfect, but what is? I have had only 2 occations in the last 4 months where it rejected good mail. It is easy to whitelist an address so once I found out it was easily remidied.

As for your configuration for sendmail, www.sendmail.org has plenty of info. As does google.
 
Old 03-18-2004, 10:59 AM   #15
htm
Member
 
Registered: Mar 2004
Posts: 162

Original Poster
Rep: Reputation: 30
sendmail Vs postfix

OK, great, I gonna hold sendmail adoption for a while before I finish
due deligence on postfix:

What is a minimum configuration for postfix in being a SMTP server?
Here are a few I got from postfix.org? I wanna not only e-mail
communication security, also certain level of data security for
my server's sake? Is OpenSSL a must? Since we are running a BBS,
will that incure some side effects?

POP/IMAP

* Postfix + Courier Maildrop + Courier IMAP howto by Robin Whittle.
* Cyrus+SASL howto by Haim R. Dimermanas.
* Postfix+Cyrus+Web-cyradm howto by Luc de Louw. Postfix+LDAP+Courier-IMAP howto by Jeroen Vriesman.
* Postfix+MySQL+Courier-IMAP+Maildrop+SpamAssassin howto by Serge Stepanov.
* Postfix+MySQL+Courier-IMAP+Amavis howto by Christoph Haas.
* Postfix+MySQL+Courier-IMAP+Amavis howto by Martin List-Petersen.
* Postfix+LDAP+Courier-IMAP howto by Jeroen Vriesman.
* Postfix+MySQL+Courier-IMAP howto by Mischa Peters.
* Postfix+MySQL+Courier-IMAP howto by Kirby Menzel and Lucas Peet.
* Postfix+MySQL+Courier-IMAP howto by Keith Matthews and contributors.

- In brief, is MySQL a must, is Courier-IMAP a must? Is Maildrop a must?


Now I have got a question on configuring Mozilla 1.6 hidden inside a LAN
operated by a Redhat server with squid as proxy? The mail client
works well if is is on the server, but once it is behind the proxy, it complains
it cannot contact our mail server any more (currently it's at our web host's
site)

Thx a lot,
HTM
 
  


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
Sending mail from shell: how to define custom headers? ricky_ds Linux - Software 3 06-22-2005 08:58 AM
Issues running a custom application schapmn1974 Linux - Software 3 07-12-2004 07:42 AM
mail server and mail client setup issues htm Linux - General 1 03-16-2004 10:32 AM
mail server issues - POSTFIX macdafoe Linux - Newbie 2 09-14-2003 10:09 PM
<confused> mail server issues... busbyjon Linux - Networking 1 07-08-2003 08:20 PM


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