Saturday 10 March 2018

Configure Evolution(MUA) for root account on Linux

​Tried to configure 'sendmail' and 'dovecot' and tested using command line to send emails by creating couple of local user accounts. Later, for easy access configured 'evolution' mail client.
In brief, here are the changes made on the system while I configured system.

sendmail: 

# yum install sendmail sendmail-cf
# vi /etc/mail/sendmail.mc

​​
From:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
​​
To

dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
​​
​save and quit(:wq)​

# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
# vi /etc/mail/local-host-names

# service sendmail restart
# chkconfig sendmail on

Dovecot:

# yum install dovecot

# vi /etc/dovecot/dovecot.conf
From:
#protocols = imap pop3 lmtp

To:
protocols = imap pop3


# vi /etc/dovecot/conf.d/10-mail.conf
From
#mail_location =

To
mail_location = mbox:~/mail:INBOX=/var/mail/%u

​# service dovecot restart
# chkconfig dovecot on

​Configure your evolution mail client: 

 
# yum -y install evolution