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')dnlTo
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
save and quit(:wq)
# 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 lmtpTo:protocols = imap pop3
# vi /etc/dovecot/conf.d/10-mail.conf
From#mail_location =Tomail_location = mbox:~/mail:INBOX=/var/mail/%u
# service dovecot restart
# chkconfig dovecot on
Configure your evolution mail client:
# yum -y install evolution
No comments:
Post a Comment