1.Install Dovecot.
[root@mail ~]# yum -y install dovecot
Dovecot Configuration
[root@mail ~]# vi /etc/dovecot/dovecot.conf
# line 24: uncomment
protocols = imap pop3 lmtp
# line 30: uncomment and change ( if not use IPv6 )
listen = *
[root@mail ~]# vi /etc/dovecot/conf.d/10-auth.conf
# line 10: uncomment and change ( allow plain text auth )
disable_plaintext_auth = no
# line 100: add
auth_mechanisms = plain login
[root@mail ~]# vi /etc/dovecot/conf.d/10-mail.conf
# line 30: uncomment and add
mail_location = maildir:~/Maildir
[root@mail ~]# vi /etc/dovecot/conf.d/10-master.conf
# line 96-98: uncomment and add like follows
# Postfix smtp-auth
unix_listener /var/spool/postfix/private/auth {
mode = 0666
user = postfix
group = postfix
}
[root@mail ~]# vi /etc/dovecot/conf.d/10-ssl.conf
# line 8: change (not require SSL)
ssl = no
[root@mail ~]# systemctl start dovecot
[root@mail ~]# systemctl enable dovecot
#yum install httpd
This answer from AWS Amazon forum:
#yum -y install yum-utils
#yum repolist all
#yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional
Then you can install php-mbstring, and maybe, I don't know exactly, but maybe it can help for servers on Amazon only.
#yum install php-mbstring
#yum install squirrelmail
[root@mail ~]# yum -y install dovecot
Dovecot Configuration
[root@mail ~]# vi /etc/dovecot/dovecot.conf
# line 24: uncomment
protocols = imap pop3 lmtp
# line 30: uncomment and change ( if not use IPv6 )
listen = *
[root@mail ~]# vi /etc/dovecot/conf.d/10-auth.conf
# line 10: uncomment and change ( allow plain text auth )
disable_plaintext_auth = no
# line 100: add
auth_mechanisms = plain login
[root@mail ~]# vi /etc/dovecot/conf.d/10-mail.conf
# line 30: uncomment and add
mail_location = maildir:~/Maildir
[root@mail ~]# vi /etc/dovecot/conf.d/10-master.conf
# line 96-98: uncomment and add like follows
# Postfix smtp-auth
unix_listener /var/spool/postfix/private/auth {
mode = 0666
user = postfix
group = postfix
}
[root@mail ~]# vi /etc/dovecot/conf.d/10-ssl.conf
# line 8: change (not require SSL)
ssl = no
[root@mail ~]# systemctl start dovecot
[root@mail ~]# systemctl enable dovecot
#yum install httpd
This answer from AWS Amazon forum:
#yum -y install yum-utils
#yum repolist all
#yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional
Then you can install php-mbstring, and maybe, I don't know exactly, but maybe it can help for servers on Amazon only.
#yum install php-mbstring
#yum install squirrelmail
Comments
Post a Comment
thank you for visiting :)