centos 搭建smtp 服务器 centos mail服务器
lsb_release -a 查看linux系统版本
在CentOS6以上版本自带mailx版本12.4
rpm -qa | grep mailx 查看系统自带的mailx版本
[ms_01@iZ9468ucZ /]$ rpm -qa | grep mailx
libreport-plugin-mailx-2.0.9-19.el6.centos.x86_64
mailx-12.4-7.el6.x86_64
vim /etc/mail.rc
在后面添加
set from=myname@ smtp=smtp.
set smtp-auth-user=myname smtp-auth-password=mypassword smtp-auth=login
注:设置qq邮箱发送方时,出现:发送邮件错误 454 Authentication failed, please open smtp flag first! 需要登陆QQ邮箱=》设置=》POP3/IMAP/SMTP选择开启POP3/SMTP服务(POP3:收件人从服务器获取邮件收信;SMTP:服务器到服务器发件)
[ms_01@iZ9468ucZ /]$ echo "hello world" | mailx -s "test mail" [email protected]
centos安装openoffice服务
黄聪:VPS服务器如何配置PHP.ini解决wordpress使用WP-Mail-SMTP插件发邮件出现Could not connect to SMTP host的解决办法
windows下搭建syslog服务器及基本配置windows搭建syslog服务器
《windows server 2008》FTP服务器搭建server 2008 ftp服务器怎么搭建
Windows server 2008、2012、2016搭建sftp服务(超级简单)windows sftp服务器搭建
服务器安装centos5.5下安装samba服务器以及windows访问samba服务器centos搭建samba服务器