Postfix dovecot SASL smtp auth [closed]

老子叫甜甜 提交于 2019-12-25 04:46:12

问题


I configured my email server following the tutorial https://help.ubuntu.com/community/PostfixDovecotSASL

Now when I telnet myserver.com 25 ehlo localhost

the output is

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

===== 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 .

It is weird .


回答1:


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

Also this shuld be set to yes:

smtpd_sasl_auth_enable = yes

Try connecting from somewhere else instead...




回答2:


You can send mail without auth if you have your subnet declared in

$sudo postconf mynetworks



来源:https://stackoverflow.com/questions/10674701/postfix-dovecot-sasl-smtp-auth

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!