邮件加密收发实验
系统版本
[root@wang named]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.2 (Ootpa)
需要安装的包
dnf install cyrus-sasl dovecot *sasl* -y
dnf install postfix dovecot -y
dnf install postfix mailx -y
dnf install *sasl* -y
一、创建密钥对
进入/etc/postfix/ 目录
[root@wang ~]#cd /etc/postfix/
然后再该路径下输入命令:
[root@wang postfix]# openssl req -new -x509 -nodes -out smtpd.pem -keyo