zoukankan      html  css  js  c++  java
  • 解决 -ERR Plaintext authentication disallowed on non-secure (SSL/TLS) connections 方案[sendmail, dovecot]

    在linux下安装sendmail比较容易, 但是在配置sendmail时却是比较麻烦的, 特别是对于一些新手来说, 配置过程必须十分小心谨慎, 要知道, 错误是千奇百怪, 但是成功的结果就只有一个, 好不容易完成了安装, 在配置outlook等客户端时, 很容易出现这样的错误:

    登录邮件服务器时出错。“用户名”被拒绝。 帐户: 'youremailuser', 服务器: '192.168.52.64'(你的服务器名称或者IP), 协议: POP3, 服务器响应: '-ERR Plaintext authentication disallowed on non-secure (SSL/TLS) connections.', 端口: 110, 安全(SSL): 否, 服务器错误: 0x800CCC90, 错误号: 0x800CCC91

    出现 -ERR Plaintext authentication disallowed on non-secure (SSL/TLS) connections.这个错误, 主要是sendmail的配置文件有问题. 打开/etc/mail/access.加入你服务器的IP或者域名, 设置允许它进行转发.

    Connect: 192.168.52.64    RELAY   //注意中间的人格用TAB敲出来的.

    然后保存, 完成这一步并不算完. 还需要把它编译进/etc/mail/access.db 这个文件, 不要企图打开这个文件能看到什么有趣的东西, 你会看到都是乱码, 具体内容不用管, 它是由hash从/etc/mail/access编译而来的. 下面把它编译进/etc/mail/access.db.

    #makemap hash /etc/mail/access.db < /etc/mail/access      //需要说明的是, 在鸟哥那篇文章中, 他漏写了前面的.db, 这个需要在实际应用中注意一下.

    很多朋友就是因为忘记这一步导致出现那个错误.

    经过这一步, 再重启一下sendmail即可.

    #service sendmail restart

    再在outlook里测试, 发现可以正常收发邮件了. 至此, 服务器响应: '-ERR Plaintext authentication disallowed on non-secure (SSL/TLS) connections.' 这个问题得到解决.

     source: http://www.cnblogs.com/wwufengg/p/Plaintext_authentication.html

  • 相关阅读:
    Binary Tree Zigzag Level Order Traversal
    Binary Tree Level Order Traversal
    Symmetric Tree
    Best Time to Buy and Sell Stock II
    Best Time to Buy and Sell Stock
    Triangle
    Populating Next Right Pointers in Each Node II
    Pascal's Triangle II
    Pascal's Triangle
    Populating Next Right Pointers in Each Node
  • 原文地址:https://www.cnblogs.com/wwufengg/p/Plaintext_authentication.html
Copyright © 2011-2022 走看看