smtp-server: 535 5.7.8 Error: authentication failed: generic failure
来源:互联网 发布:福富软件待遇 编辑:程序博客网 时间:2024/06/05 10:41
这两天几台服务器的任务邮件都没有发出来,在服务器里手动测试了下命令
SMTP服务器端是postfix,在服务器端查看日志 /var/log/maillog ,发现一提示
echo hello word | mailx -v -s "demo title" 12345@qq.com错误信息
535 5.7.8 Error: authentication failed: generic failuresmtp-server: 535 5.7.8 Error: authentication failed: generic failure
SMTP服务器端是postfix,在服务器端查看日志 /var/log/maillog ,发现一提示
Mar 19 10:04:57 app201301 postfix/smtpd[8719]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directoryMar 19 10:04:57 app201301 postfix/smtpd[8719]: warning: app44[192.168.100.66]: SASL LOGIN authentication failed: generic failure
奇怪,服务器只是昨晚停机一次,什么配置都没有更改。
几经检查,才发现是saslauthd 服务没有启动,启动服务
/etc/init.d/saslauthd start
备注:saslauthd 是认证服务 Cyrus SASL 的守护进程,主要用来做邮件的认证。
再次运行mailx测试发邮件,一切正常。
设置saslauthd 服务开机启动
chkconfig saslauthd on查看设置开机启动chkconfig --list|grep saslsaslauthd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
- smtp-server: 535 5.7.8 Error: authentication failed: generic failure
- 535 5.7.8 Error: authentication failed: generic failure
- SMTP server rejected auth: 535 Error: authentication failed Gerrit 认证邮箱报错
- 535 Error:authentication failed
- 535 Error: authentication failed
- 535 Error:authentication failed.
- 535 Error:authentication failed
- SMTP Server reply:535 5.7.3 Authentication unsuccessful
- SASL LOGIN authentication failed: authentication failure
- javax.mail.AuthenticationFailedException: 535 Error: authentication failed
- javax.mail.AuthenticationFailedException: 535 Error: authentication failed
- javax.mail.AuthenticationFailedException: 535 Error: authentication failed
- javax.mail.AuthenticationFailedException: 535 Error: authentication failed
- SMTP协议_454 Authentication failed, please open smtp flag first!
- Failed: error connecting to db server: server returned error on SASL authentication step: Authentica
- 关于发邮件报错535 Error:authentication failed解决方法
- javax.mail.AuthenticationFailedException: 535 Error: authentication failed的解决办法
- 关于发邮件报错535 Error:authentication failed解决方法
- UVa 147 - Dollars
- 瑞士GST Oracle恢复内部原理(热备份)
- SVN服务器端日志必须输入设置
- 五种外链是无法转移重量
- vm ubuntu 使用问题
- smtp-server: 535 5.7.8 Error: authentication failed: generic failure
- java利用url解析网页内容并模拟手动form提交数据
- Chromium主界面框架(Gtk+)
- wince6启动调试
- 如何查看eclipse版本
- java中如何获取项目各个目录下的文件
- C++异常处理
- linux缺页异常处理--用户空间 .
- python 垃圾收集机制