sendmail 认证问题
我的sendmail ,用out look 连接后,只有系统用户能向外发邮件,用saslpasswd 增加的用户却发不了,外面的也可以给系统用户发邮件,但用 outlook 却收不了,用非系统用户发邮件,一直提示输入用户名,密码。。。不知道是怎么回事?
不知道是哪里认证有问题,/etc/sendmai.mc中的相关项已经改过了,如下:
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
dnl # The following causes sendmail to only listen on the IPv4 loopback address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
dnl #
DAEMON_OPTIONS(`Port=smtp,Name=MTA')dnl
dnl # We strongly recommend not accepting unresolvable domains if you want to
dnl # protect yourself from spam. However, the laptop and users on computers
dnl # that do not have 24x7 DNS do need this.
dnl #
dnl FEATURE(`accept_unresolvable_domains')dnl
dnl # Also accept email sent to "localhost.localdomain" as local email.
dnl #
LOCAL_DOMAIN(`localhost.localdomain')dnl
gnu/linux 系统 ,sendmail-8.13.1-2,cyrus-sasl-2.1.19-5.EL4,imap-2001a-18。
telnet localhost 25 会输出一下内容
Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
250-DELIVERBY
250 HELP
telnet localhost 110 输出一下内容
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK POP3 localhost.localdomain v2001.78rh server ready
sendmail -d0.1 -bv root 输出一下内容
Version 8.13.1
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS
USERDB USE_LDAP_INIT
用 outlook 收信的时候,看maillog 里面的日志有这样的:
pop3 service init from 61.237.235.2
Command stream end of file while reading line user=mytest@domain.com host=[61.237.235.2]
并一直提示输入用户名,密码
系统用户给系统用户可以发邮件,在服务器上能看到邮件方在了对应的用户名下
,但系统用户不能给 用 Saslpasswd 增加的用户发邮件,日志中提示 User unknown
,另外非系统用户不能向外面发邮件,总是提示输入用户名,密码 并在日志中提示:
[61.237.235.2] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
请大侠指点,跪谢了。。。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论