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. |
Do the DNS lookups and reverse lookups work?
|
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, |
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 |
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. |
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. |
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. |
All times are GMT -5. The time now is 09:47 PM. |