配置
S端:
yum install bind postfix mutt -y
systemctl start named
vim /etc/postfix/main.cf
vim /etc/dovecot/conf.d/10-mail.conf
systemctl restart postfix.service
systemctl stop firewalld
/etc/postfix/main.cf
C端
yum install dovecot postfix -y
vim /etc/postfix/main.cf
vim /etc/dovecot/dovecot.conf
vim /etc/dovecot/conf.d/10-mail.conf
systemctl restart postfix.service
systemctl restart dovecot.service
systemctl stop firewalld
/etc/postfix/main.cf(同于S端配置)
/etc/dovecot/dovecot.conf
/etc/dovecot/conf.d/10-mail.conf
由于用户过多,管理员不能在每一个用户下设立文档以及指定文件,所以我们采用骨架文件解决这一问题
su - root
touch /etc/skel/mail/.imap/INBOX
Test:
C端:mail查看
S端:mutt -f pop://nono@172.25.254.230