|
|
Hi I have a strange problem with WSUS reporting, I cannot send reports through Exchange. WSUS verison 3.1.6001.65, chekbox "my SMTP server requires authentication" is not set I try to send test messages to group (checkbox "require that all senders are authenticated" is not set) with error:
Code SnippetSystem.Net.Mail.SmtpException: Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender at Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow(SoapException soapException) at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.SendTestEmail(String emailLanguage, String smtpUserName, String senderEmailAddress, String smtpHostName, Int32 smtpPort, String recipients) at Microsoft.UpdateServices.Internal.BaseApi.EmailNotificationConfiguration.SendTestEmail() at Microsoft.UpdateServices.UI.SnapIn.Dialogs.EmailNotificationSettingsDialog.backgroundWorker_DoWork(Object sender, DoWorkEventArgs e)
I try to send report to himself with same result
My server uses special receive connector for anonymous in servers subnet and I can see that I use it when try to send reports.
My receive connector settings:
Code SnippetGet-ReceiveConnector "Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*)"
AuthMechanism : Tls, Integrated, BasicAuth Banner : BinaryMimeEnabled : True Bindings : {0.0.0.0:25} ChunkingEnabled : True DefaultDomain : DeliveryStatusNotificationEnabled : True EightBitMimeEnabled : True DomainSecureEnabled : False EnhancedStatusCodesEnabled : True LongAddressesEnabled : False OrarEnabled : False Fqdn : exchange.mydomain.com Comment : Enabled : True ConnectionTimeout : 00:10:00 ConnectionInactivityTimeout : 00:05:00 MessageRateLimit : unlimited MaxInboundConnection : 5000 MaxInboundConnectionPerSource : 20 MaxInboundConnectionPercentagePerSource : 2 MaxHeaderSize : 64KB MaxHopCount : 30 MaxLocalHopCount : 8 MaxLogonFailures : 3 MaxMessageSize : 10MB MaxProtocolErrors : 5 MaxRecipientsPerMessage : 200 PermissionGroups : AnonymousUsers, ExchangeUsers PipeliningEnabled : True ProtocolLoggingLevel : Verbose RemoteIPRanges : {10.100.20.0/24, 10.97.18.0/24, 10.100.18.0(255.255.255.0)} RequireEHLODomain : False RequireTLS : False EnableAuthGSSAPI : False Server : EXCHANGE SizeEnabled : Enabled TarpitInterval : 00:00:05 AdminDisplayName : ExchangeVersion : 0.1 (8.0.535.0) Name : Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*) DistinguishedName : CN=Anonymous SMTP from Servers subnet (10.100.18(20).*\; 10.97.18.*),CN=SMTP Receive Connectors,CN=Protocols,CN=EXCHANGE,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Aministrative Groups,CN=CMS,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=mydomain,DC=com Identity : EXCHANGE\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*) Guid : f1e6efa7-d4f6-45bf-8a5f-23e44d627b18 ObjectCategory : gorodskoi.ru/Configuration/Schema/ms-Exch-Smtp-Receive-Connector ObjectClass : {top, msExchSmtpReceiveConnector} WhenChanged : 13.10.2008 9:58:47 WhenCreated : 09.09.2008 16:35:12 OriginatingServer : dc1.mydomain.com IsValid : True
I try to send message from that server via VBS and compare Exchange SMTP Log. Script sends mail via SMTP fine without authentication
Script:
Code Snippet2008-10-14T11:36:41.965Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,0,10.100.20.14:25,10.97.18.250:4842,+,, 2008-10-14T11:36:41.965Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,1,10.100.20.14:25,10.97.18.250:4842,*,SMTPSubmit SMTPAcceptAnySender SMTPAcceptAuthoritativeDomainSender AcceptRoutingHeaders,Set Session Permissions 2008-10-14T11:36:41.965Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,2,10.100.20.14:25,10.97.18.250:4842,>,"220 Exchange.gorodskoi.ru Microsoft ESMTP MAIL Service ready at Tue, 14 Oct 2008 15:36:41 +0400", 2008-10-14T11:36:41.965Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,3,10.100.20.14:25,10.97.18.250:4842,<,HELO nmswin01, 2008-10-14T11:36:41.965Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,4,10.100.20.14:25,10.97.18.250:4842,>,250 Exchange.gorodskoi.ru Hello [10.97.18.250], 2008-10-14T11:36:41.965Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,5,10.100.20.14:25,10.97.18.250:4842,<,MAIL FROM: <wsus[ at ]mydomain.com>,
2008-10-14T11:36:41.965Z,Exchange\Anonymous'>mailto:wsus[ at ]mydomain.com">wsus[ at ]mydomain.com>, 2008-10-14T11:36:41.965Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,6,10.100.20.14:25,10.97.18.250:4842,*,08CAFB0FF92E9D86;2008-10-14T11:36:41.965Z;1,receiving message 2008-10-14T11:36:41.965Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,7,10.100.20.14:25,10.97.18.250:4842,>,250 2.1.0 Sender OK, 2008-10-14T11:36:41.965Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,8,10.100.20.14:25,10.97.18.250:4842,<,RCPT TO: <admin[ at ]mydomain.com>,
2008-10-14T11:36:41.965Z,Exchange\Anonymous'>mailto:admin[ at ]mydomain.com">admin[ at ]mydomain.com>, 2008-10-14T11:36:41.965Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,9,10.100.20.14:25,10.97.18.250:4842,>,250 2.1.5 Recipient OK, 2008-10-14T11:36:41.980Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,10,10.100.20.14:25,10.97.18.250:4842,<,DATA, 2008-10-14T11:36:41.980Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,11,10.100.20.14:25,10.97.18.250:4842,>,354 Start mail input; end with ., 2008-10-14T11:36:42.168Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,12,10.100.20.14:25,10.97.18.250:4842,>,250 2.6.0 <3A2C74FC31D14DCCB8047EC606D2D04A[ at ]gorodskoi.ru>'>mailto:3A2C74FC31D14DCCB8047EC606D2D04A[ at ]gorodskoi.ru">3A2C74FC31D14DCCB8047EC606D2D04A[ at ]gorodskoi.ru>; Queued mail for delivery, 2008-10-14T11:36:42.168Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,13,10.100.20.14:25,10.97.18.250:4842,<,QUIT, 2008-10-14T11:36:42.168Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,14,10.100.20.14:25,10.97.18.250:4842,>,221 2.0.0 Service closing transmission channel, 2008-10-14T11:36:42.168Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E9D86,15,10.100.20.14:25,10.97.18.250:4842,-,,Local
WSUS:
Code Snippet2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,0,10.100.20.14:25,10.97.18.250:4790,+,, 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,1,10.100.20.14:25,10.97.18.250:4790,*,SMTPSubmit SMTPAcceptAnySender SMTPAcceptAuthoritativeDomainSender AcceptRoutingHeaders,Set Session Permissions 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,2,10.100.20.14:25,10.97.18.250:4790,>,"220 Exchange.gorodskoi.ru Microsoft ESMTP MAIL Service ready at Tue, 14 Oct 2008 15:33:28 +0400", 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,3,10.100.20.14:25,10.97.18.250:4790,<,EHLO wsussrv, 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,4,10.100.20.14:25,10.97.18.250:4790,>,250-Exchange.gorodskoi.ru Hello [10.97.18.250], 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,5,10.100.20.14:25,10.97.18.250:4790,>,250-SIZE 10485760, 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,6,10.100.20.14:25,10.97.18.250:4790,>,250-PIPELINING, 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,7,10.100.20.14:25,10.97.18.250:4790,>,250-DSN, 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,8,10.100.20.14:25,10.97.18.250:4790,>,250-ENHANCEDSTATUSCODES, 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,9,10.100.20.14:25,10.97.18.250:4790,>,250-STARTTLS, 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,10,10.100.20.14:25,10.97.18.250:4790,>,250-AUTH NTLM LOGIN, 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,11,10.100.20.14:25,10.97.18.250:4790,>,250-8BITMIME, 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,12,10.100.20.14:25,10.97.18.250:4790,>,250-BINARYMIME, 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,13,10.100.20.14:25,10.97.18.250:4790,>,250 CHUNKING, 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,14,10.100.20.14:25,10.97.18.250:4790,<,AUTH ntlm, 2008-10-14T11:33:28.979Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,15,10.100.20.14:25,10.97.18.250:4790,>,334 <authentication response>, 2008-10-14T11:33:28.995Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,16,10.100.20.14:25,10.97.18.250:4790,*,SMTPSubmit SMTPAcceptAnyRecipient BypassAntiSpam AcceptRoutingHeaders,Set Session Permissions 2008-10-14T11:33:28.995Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,17,10.100.20.14:25,10.97.18.250:4790,*,GORODSKOI\WSUSSRV$,authenticated 2008-10-14T11:33:28.995Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,18,10.100.20.14:25,10.97.18.250:4790,>,235 2.7.0 Authentication successful, 2008-10-14T11:33:28.995Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,19,10.100.20.14:25,10.97.18.250:4790,<,MAIL FROM:<wsus[ at ]mydomain.com>,
2008-10-14T11:33:28.995Z,Exchange\Anonymous'>mailto:wsus[ at ]mydomain.com">wsus[ at ]mydomain.com>, 2008-10-14T11:33:28.995Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,20,10.100.20.14:25,10.97.18.250:4790,*,08CAFB0FF92E97D0;2008-10-14T11:33:28.979Z;1,receiving message 2008-10-14T11:33:28.995Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,21,10.100.20.14:25,10.97.18.250:4790,>,550 5.7.1 Client does not have permissions to send as this sender, 2008-10-14T11:33:29.010Z,Exchange\Anonymous SMTP from Servers subnet (10.100.18(20).*; 10.97.18.*),08CAFB0FF92E97D0,22,10.100.20.14:25,10.97.18.250:4790,-,,Remote 2008-10-14T11:33:56.729Z,Exchange\Default Exchange,08CAFB0FF92E98D1,0,10.100.20.10:25,10.78.101.12:11591,+,,
WSUS is trying to authenticate as itself but it cannot.... And, as I have said, I don't use authenticate option in WSUS
|
|
|