Site icon Kiat's Blog

Centos 设置默认的发送email

nano /etc/mail.rc

在这文件的尾端,加入smtp的资料

#config for sendmail by SMTP
set from=no-reply@XXX.com
set smtp=smtps://smtp.xxx.com:465
set smtp-auth-user=no-reply@XXX.com
set smtp-auth-password=PasswordXXX.com
set smtp-auth=login

Facebook评论
Exit mobile version