MAIL CERTIFICATION
INSTALL THE DOVECOT RPM USING YUM INSTALLER
yum -y install dovecot
CONFIGURATION FILE CAN BE EDITED AS FOLLOWS
vim /etc/dovecot.conf
SEARCH FOR THE TEXT "protocols" THEN COPY THE LINE AND ENABLE IT.
protocols = imap imaps pop3 pop3s
STARTING SERVICE AND ENABLING FOR AFTER REBOOT
service dovecot restart
chkconfig dovecot on
MAKING THE POP3 CERTIFICATION
make -C /etc/pki/tls/certs dovecot.pem
TO ENABLE THE SSL CERTIFICATE PRIVATE KEY.
cp /etc/pki/tls/certs/dovecot.pem /etc/pki/tls/private/dovecot.pem
vim /etc/dovecot.conf
SEARCH FOR THE TEXT "pki" THEN COPY THE LINES AND MODIFY IT
ssl_cert_file = /etc/pki/tls/certs/dovecot.pem
ssl_key_file = /etc/pki/tls/private/dovecot.pem
RESTARTING THE SERVICE AFTER THE MODIFICATION OF CONFIGURATION FILE
service dovecot restart
VERIFYING THE CERTIFICATE CREATED
mutt mailto:-f%7Broot@stationX.example.com}
This is the certificate created to the example.com, it can be used by the users of that domain.
NEW ALIASES
TO FORWARD MAIL TO ANOTHER USER:
EXAMPLE: forward root's mail to user manager
THE MAIN CONFIGURATION FILE IS /etc/aliases
vim /etc/aliases
ENTER THE FOLLOWING DATA IN THE LAST LINE
root:
TO ENABLE THE ALIASES RUN
newaliases
VERIFY THIS BY SENDING MAIL TO ROOT, THIS MAIL IS RECEIVED BY THE USER MANAGER.
echo " message to root " | mail -v -s aliases root@stationx
manager
INSTALL THE DOVECOT RPM USING YUM INSTALLER
yum -y install dovecot
CONFIGURATION FILE CAN BE EDITED AS FOLLOWS
vim /etc/dovecot.conf
SEARCH FOR THE TEXT "protocols" THEN COPY THE LINE AND ENABLE IT.
protocols = imap imaps pop3 pop3s
STARTING SERVICE AND ENABLING FOR AFTER REBOOT
service dovecot restart
chkconfig dovecot on
MAKING THE POP3 CERTIFICATION
make -C /etc/pki/tls/certs dovecot.pem
TO ENABLE THE SSL CERTIFICATE PRIVATE KEY.
cp /etc/pki/tls/certs/dovecot.pem /etc/pki/tls/private/dovecot.pem
vim /etc/dovecot.conf
SEARCH FOR THE TEXT "pki" THEN COPY THE LINES AND MODIFY IT
ssl_cert_file = /etc/pki/tls/certs/dovecot.pem
ssl_key_file = /etc/pki/tls/private/dovecot.pem
RESTARTING THE SERVICE AFTER THE MODIFICATION OF CONFIGURATION FILE
service dovecot restart
VERIFYING THE CERTIFICATE CREATED
mutt mailto:-f%7Broot@stationX.example.com}
This is the certificate created to the example.com, it can be used by the users of that domain.
NEW ALIASES
TO FORWARD MAIL TO ANOTHER USER:
EXAMPLE: forward root's mail to user manager
THE MAIN CONFIGURATION FILE IS /etc/aliases
vim /etc/aliases
ENTER THE FOLLOWING DATA IN THE LAST LINE
root:
TO ENABLE THE ALIASES RUN
newaliases
VERIFY THIS BY SENDING MAIL TO ROOT, THIS MAIL IS RECEIVED BY THE USER MANAGER.
echo " message to root " | mail -v -s aliases root@stationx
manager
No comments:
Post a Comment