Page 133 - RHEL8 BOOK
P. 133

S q u ir r e l M a il S e r v e r



















          Postfix is free & open source mail transfer agent (MTA) that routes & delivers Email. It is fast, secure &
          easy to administer and is a great alternative to SendMail MTA.

          Dovecot is an IMAP and POP3 mail server for Linux. It provides a way for Mail User Agent (MUAs) to
          access their mail. Its created to be fast, secure, requires very less administration & uses very less memory
          to work.

          Squirrelmail provides a graphical interface for sending mail. As you can understand sending & receiving
          mail via command line can be bit of a hassle. With the help of Squirrelmail we can open a console in our
          web browser for sending & receiving mail.


          1. Check and Install the following packages
             [root@sun ~]#yum install httpd* perl-5* php* curl* dovecot* mod_ssl* hunspell-en* tmpwatch* -y

          2. Check and download squirrelmail package from Lab server
             [root@sun ~]# cd /root/Downloads
             [root@sun ~]# ls
             [root@sun ~]# rpm –ivh php-mbstring-5.4.16……64.rpm
             [root@sun ~]# rpm –ivh squirrelmail-1.4.22.2………rpm

          3. Edit first /etc/dovecot/dovecot.conf file
                [root@sun ~]# vi /etc/dovecot/dovecot.conf
                   protocols = imap pop3 lmtp          ## Line 24 - umcomment ##

          4. Edit second dovecot configuration file
             [root@sun ~]# vi /etc/dovecot/conf.d/10-auth.conf
             10: disable-plaintext_auth = no                       [change yes to no]
             100: auth_mechnaisms = plain login                    [remove # and at last add login]

          5. Edit Third dovecot configuration file
             [root@sun ~]# vi /etc/dovecot/conf.d/10-mail.conf
                   ## Line 24 - uncomment ##
             25: mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u
             119: mail_access_group = mail





                                                       S. Pradhan
                             (MCA, MBA-IT, BCA, CCNA, MCSA 2012, RHCE, ETHICAL HACKING)
                                             Email Id:-spradhan.iiht@gmail.com
                                                           133
   128   129   130   131   132   133   134   135   136   137   138