========= Postfix ========= ----[ Tried on Red Hat Enterprise Linux v4 ] 1) Install it when you install the S.O. or # up2date install postfix 2) Config: # vi /etc/postfix/main.cf mydomain = research.hm.com myhostname = mail.research.hm.com mydestination = $myhostname, localhost, $mydomain mynetworks = 200.100.100.0/27, 127.0.0.0/8 mynetworks_style = host myorigin = $mydomain #### This is by default #### alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix debugger_command = debug_peer_level = 2 html_directory = no inet_interfaces = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man newaliases_path = /usr/bin/newaliases.postfix PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES sample_directory = /usr/share/doc/postfix-2.2.10/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop unknown_local_recipient_reject_code = 550 xxgdb $daemon_directory/$process_name $process_id & sleep 5 3) Stop sendmail # service sendmail stop You can switch MTAs with this: # /usr/sbin/redhat-switch-mail 4) Start postfix # postfix start Optional: 5) We can Verify all the parameters with: # postconf --------------- Troubleshooting: --------------- 1)Problem: Warning in /var/log/maillog Sep 21 16:02:42 mail postfix/smtpd[24696]: warning: database /etc/postfix/access.db is older than source file /etc/postfix/access 2)Solution: # cd /etc/postfix && postmap access && postfix reload ========= dovecot ========= 1) Install # up2date install dovecot 2) Config: # vi /etc/dovecot.conf protocols = imap imaps pop3 pop3s imap_listen = * pop3_listen = * imaps_listen = * pop3s_listen = * 3) service dovecot start