Postfix的dovecot的SASL SMTP认证 [英] Postfix dovecot SASL smtp auth
问题描述
我配置以下教程 https://help.ubuntu.com/community/PostfixDovecotSASL
现在,当我
远程登录myserver.com 25
EHLO本地主机
Now when I telnet myserver.com 25 ehlo localhost
输出
250流水
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH =普通LOGIN
250 ENHANCEDSTATUS codeS
250-8BITMIME
250 DSN
250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN
=====
据教程250-AUTH PLAIN LOGIN,50 AUTH =普通LOGIN行的意思是我配置MYSERVER权利。
但我还是发送的电子邮件无需身份验证登录。
===== According tutorial ,"250-AUTH PLAIN LOGIN ,50-AUTH=PLAIN LOGIN" lines mean I config myserver right . But I still sent the email without auth login .
这是奇怪的。
推荐答案
就像ekini说,看看你的main.cf配置文件,并查看是否mynetworks中的参数设置为localhost(或127.0.0.0/8例如)这通常是当这种情况发生的情况。
Just like ekini says, look in your main.cf configuration file and see if mynetworks parameter is set to localhost (or 127.0.0.0/8 for instance), which is usually the case when this happens.
mynetworks = 127.0.0.0/8
另外这款shuld设置为yes:
Also this shuld be set to yes:
smtpd_sasl_auth_enable = yes
尝试从别的地方而不是连接...
Try connecting from somewhere else instead...
这篇关于Postfix的dovecot的SASL SMTP认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!