LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 06-06-2005, 11:57 AM   #1
nisshelp
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Rep: Reputation: 0
Mail Server on RH ES Version 4


I am trying to setup a postfix mail server on Redhat Enterprise Linux version 4. I would like to have Courier-IMAP, Courier-IMAP-SSL, Courier-Maildrop, Spamassassin & web a based mail system with good authentication. Any help will be appreciated.

The first problem I have encountered was, postfix works fine and it delivers mail to user home directories (Maildir), however when I send a mail from another machine within the same network, it does not work. I checked the firewall on the machine, port 25 is opened as well as 110, 143, 993 & 80. I had even tried to disable firewall but no luck.
 
Old 06-06-2005, 11:58 PM   #2
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
Do the DNS lookups and reverse lookups work?
 
Old 06-07-2005, 06:56 AM   #3
nisshelp
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Yes. DNS works and reverse lookups work just fine. Also I had installed postfix on RedHat version 9 and it does not have any problem.
Thanks,
 
Old 06-07-2005, 09:37 AM   #4
Anuragn
LQ Newbie
 
Registered: Apr 2005
Location: mumbai
Posts: 3

Rep: Reputation: 0
help me for postfix delivering mails in maildir

hi

i am configuring postfix with courier-imap. my postfix is working fine accross the network but it is not delivering the mails in Maildir of user's home directory. Please suggest me the configuration options.

thanks
Anurag
 
Old 06-08-2005, 10:20 AM   #5
nisshelp
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Well... after all this troubles, I have finally figured it out. The problem I could not send mail to my machine from other machine was due to my mail server listening on the localhost (127.0.0.1) port. When you do a "lsof -i" or netstat will tell you this. So all I had to do was add just one line in the host table with the IP address and hostname.

That was it.
 
Old 07-03-2005, 07:46 PM   #6
vivaspeed
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Rep: Reputation: 0
Hi,

I've set up sendmail mailserver in Redhat Enterprise Linux version 4 and it work fine.
Due to the security issue, I plan to set up the Postfix mailserver to replace the
sendmail.

Since you have experience before can you give some guide?

Thank you very much.
 
Old 07-05-2005, 07:20 AM   #7
nisshelp
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Here are the software I have used:

Postfix (http://www.postfix.org/)
--------
Postfix is much better than Sendmail as far as the security is concerned and easy to configure. Get postfix version 2 or grater.

dovecot (http://www.dovecot.org/)
----------
Dovecot is a light weight IMAP & POP3 server (also imapS & pop3S) and it has great security features . It is easy to set up and doesn't require special maintenance. Only thing you need is to get the authentication working properly - if your users are in /etc/passwd there's hardly anything you have to do. You can also set up sasldb2 database and authenticate your users against it. Dovecot should be pretty fast. There are still some optimizations that could be done, but I believe it already beats most other IMAP servers in overall performance.

Mailman (http://www.gnu.org/software/mailman/)
----------
Use it only if you needed.

SquirrelMail (http://www.squirrelmail.org/)
--------------
Webmail software.

Spamassassin (http://spamassassin.apache.org/)
------------------
Spam filter software.

Openssl (http://www.openssl.org/)
----------

Get all these installed on your machine. Here are the ports you need to open using the firewall (iptable):

SMTP - 25
SMTPS - 465
HTTPS - 443
IMAPS - 993
SPAMD - 783

Modify /usr/lib/sasl2/smtpd.conf (choose your favorite authentication: auxprop or saslauthd)

Create SSL certificates for IMAP & SMTP (both private and certs keys)

Create SSL certificates for apache web (both ssl.key & ssl.crt)

Turn on all the services. Check your services using "lsof -i' & and check their ports using "netstat -an".

If you are using RH version 4, you can pretty much use the software that came with the system (unless you want the latest & gratest).

Hope it helps.
 
  


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
Configure & Connect a Linux mail server from a windows mail clients digihall7 Linux - Networking 4 10-23-2006 12:21 PM
How to have limited mail on a linux server that support unlimited e-mail account mmh Linux - General 3 03-15-2006 06:52 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
need help on Red hat version 9.1 mail server waheedrafiq Linux - Software 2 11-26-2003 02:55 AM
Mail Server Delimiter for alternate mail server venugopalmk Linux - Networking 2 04-29-2003 04:55 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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