Postfix and Dovecote


Postfix and dovecote Installation

# service sendmail stop
# chkconfig sendmail off
# yum install postfix dovecote -y
# alternatives --config mta [selcect] 2 to make default transfer agent to postfix

# vim /etc/postfix/main.cf
#

:69: myhostname =mail.dhrub.com
:92: myorigin = $myhostname
:107: inet_interface = all [uncomment]
:110: inet_interface = localhost [comment]
:255: mynetwork = 192.168.0.0/24, 127.0.0.0/8


# vim /etc/dovecot.conf

:20: protocols = imap imaps pop pop3
:91: [uncomment] dovecot.pem
:92: [uncomment] docecot.pem

# cd /etc/pki/tls/certs
# make dovecot.pem

[self signed]

and copy to :91: :92: location

# service postfix stat ; chkcondif postfix on
# service dovecot start; chkconfig dovecot on

Comments