none
exchange 2010 提示550 5.7.1 client does not have permissions to send as this sender RRS feed

  • 问题

  • 各位亲:

    使用C++向exchange 2010通过SMTP协议 发送邮件时,在exhange协议日志中打印如下,请教各位需要如何配置exchange 2010解决该问题,谢谢。

    2015-11-03T02:47:27.579Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,0,3.5.117.65:25,3.5.117.100:55861,+,,
    2015-11-03T02:47:27.579Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,1,3.5.117.65:25,3.5.117.100:55861,*,SMTPSubmit SMTPAcceptAnySender SMTPAcceptAuthoritativeDomainSender AcceptRoutingHeaders,Set Session Permissions
    2015-11-03T02:47:27.579Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,2,3.5.117.65:25,3.5.117.100:55861,>,"220 WIN-F784KIOT0N6.ivs.com Microsoft ESMTP MAIL Service ready at Tue, 3 Nov 2015 10:47:26 +0800",
    2015-11-03T02:47:27.579Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,3,3.5.117.65:25,3.5.117.100:55861,<,HELO 3.5.117.65,
    2015-11-03T02:47:27.579Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,4,3.5.117.65:25,3.5.117.100:55861,>,250 WIN-F784KIOT0N6.ivs.com Hello [3.5.117.100],
    2015-11-03T02:47:27.579Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,5,3.5.117.65:25,3.5.117.100:55861,<,EHLO mpu100,
    2015-11-03T02:47:27.579Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,6,3.5.117.65:25,3.5.117.100:55861,*,Tarpit for '0.00:00:05',
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,7,3.5.117.65:25,3.5.117.100:55861,>,250-WIN-F784KIOT0N6.ivs.com Hello [3.5.117.100],
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,8,3.5.117.65:25,3.5.117.100:55861,>,250-SIZE,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,9,3.5.117.65:25,3.5.117.100:55861,>,250-PIPELINING,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,10,3.5.117.65:25,3.5.117.100:55861,>,250-DSN,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,11,3.5.117.65:25,3.5.117.100:55861,>,250-ENHANCEDSTATUSCODES,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,12,3.5.117.65:25,3.5.117.100:55861,>,250-STARTTLS,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,13,3.5.117.65:25,3.5.117.100:55861,>,250-X-ANONYMOUSTLS,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,14,3.5.117.65:25,3.5.117.100:55861,>,250-AUTH NTLM LOGIN,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,15,3.5.117.65:25,3.5.117.100:55861,>,250-X-EXPS GSSAPI NTLM,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,16,3.5.117.65:25,3.5.117.100:55861,>,250-8BITMIME,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,17,3.5.117.65:25,3.5.117.100:55861,>,250-BINARYMIME,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,18,3.5.117.65:25,3.5.117.100:55861,>,250-CHUNKING,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,19,3.5.117.65:25,3.5.117.100:55861,>,250-XEXCH50,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,20,3.5.117.65:25,3.5.117.100:55861,>,250-XRDST,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,21,3.5.117.65:25,3.5.117.100:55861,>,250 XSHADOW,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,22,3.5.117.65:25,3.5.117.100:55861,<,AUTH LOGIN,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,23,3.5.117.65:25,3.5.117.100:55861,>,334 <authentication response>,
    2015-11-03T02:47:32.587Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,24,3.5.117.65:25,3.5.117.100:55861,>,334 <authentication response>,
    2015-11-03T02:47:32.618Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,25,3.5.117.65:25,3.5.117.100:55861,*,SMTPSubmit SMTPAcceptAnyRecipient BypassAntiSpam AcceptRoutingHeaders,Set Session Permissions
    2015-11-03T02:47:32.618Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,26,3.5.117.65:25,3.5.117.100:55861,*,IVS\test,authenticated
    2015-11-03T02:47:32.618Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,27,3.5.117.65:25,3.5.117.100:55861,>,235 2.7.0 Authentication successful,
    2015-11-03T02:47:32.618Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,28,3.5.117.65:25,3.5.117.100:55861,<,MAIL FROM:<test@ test.com>,
    2015-11-03T02:47:32.618Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,29,3.5.117.65:25,3.5.117.100:55861,*,08D2E364BEB6985F;2015-11-03T02:47:27.579Z;1,receiving message
    2015-11-03T02:47:32.618Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,30,3.5.117.65:25,3.5.117.100:55861,>,250 2.1.0 Sender OK,
    2015-11-03T02:47:32.618Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,31,3.5.117.65:25,3.5.117.100:55861,<,RCPT TO:<test02@ test.com>,
    2015-11-03T02:47:32.618Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,32,3.5.117.65:25,3.5.117.100:55861,>,250 2.1.5 Recipient OK,
    2015-11-03T02:47:32.618Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,33,3.5.117.65:25,3.5.117.100:55861,<,DATA,
    2015-11-03T02:47:32.618Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,34,3.5.117.65:25,3.5.117.100:55861,>,354 Start mail input; end with <CRLF>.<CRLF>,
    2015-11-03T02:47:32.837Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,35,3.5.117.65:25,3.5.117.100:55861,>,550 5.7.1 Client does not have permissions to send as this sender,
    2015-11-03T02:47:32.837Z,WIN-F784KIOT0N6\Default WIN-F784KIOT0N6,08D2E364BEB6985F,36,3.5.117.65:25,3.5.117.100:55861,-,,Remote

    2015年11月3日 5:41

全部回复

  • 在Exchange 服务器上执行:

    Get-ReceiveConnector | Add-ADPermission -User "NT AUTHORITY\Authenticated Users" -ExtendedRigths ms-Exch-SMTP-Accept-Authoritative-Domain-Sender

    Get-ReceiveConnector | Add-ADPermission -User "NT AUTHORITY\Authenticated Users" -ExtendedRigths ms-Exch-SMTP-Accept-Any-Sender

    然后重启Microsoft Exchange Transport service试试看。

    2015年11月3日 8:20