Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

Sending E-Mail notifications from WSUS 3

microsoft.public.windowsupdate






Speedup My PC
Reply
  #1 (permalink)  
Old 12-27-2007
Mikie
 

Posts: n/a
Sending E-Mail notifications from WSUS 3
Hi all,

I am trying to get the WSUS server to send email notifications to select ed
users and keep getting the error below.
I am runngin Windows Server 2003 Standard and my email server is Mailtraq.

Any Ideas??

Many thanks in advance

Mikie

System.Net.Mail.SmtpException: Failure sending mail. --->
System.Net.WebException: Unable to connect to the remote server --->
System.Exception: No connection could be made because the target machine
actively refused it
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at
Microsoft.UpdateServices.Internal.BaseApi.SoapExce ptionProcessor.DeserializeAndThrow(SoapException soapException)
at
Microsoft.UpdateServices.Internal.DatabaseAccess.A dminDataAccessProxy.SendTestEmail(String
emailLanguage, String smtpUserName, String senderEmailAddress, String
smtpHostName, Int32 smtpPort, String recipients)
at
Microsoft.UpdateServices.Internal.BaseApi.EmailNot ificationConfiguration.SendTestEmail()
at
Microsoft.UpdateServices.UI.SnapIn.Dialogs.EmailNo tificationSettingsDialog.backgroundWorker_DoWork(O bject sender, DoWorkEventArgs e)
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-27-2007
PA Bear
 

Posts: n/a
Re: Sending E-Mail notifications from WSUS 3
Forwarded to WSUS newsgroup via crosspost:
microsoft.public.windows.server.update_services as a convenience to OP.

On the web:
http://www.microsoft.com/communities... date_services

In your newsreader:
news://msnews.microsoft.com/microsof...pdate_services
--
~Robear Dyer (PA Bear)
MS MVP-Windows (IE, OE, Security, Shell/User)
AumHa VSOP & Admin http://aumha.net
DTS-L http://dts-l.net/

Mikie wrote:
> Hi all,
>
> I am trying to get the WSUS server to send email notifications to select
> ed
> users and keep getting the error below.
> I am runngin Windows Server 2003 Standard and my email server is Mailtraq.
>
> Any Ideas??
>
> Many thanks in advance
>
> Mikie
>
> System.Net.Mail.SmtpException: Failure sending mail. --->
> System.Net.WebException: Unable to connect to the remote server --->
> System.Exception: No connection could be made because the target machine
> actively refused it
> --- End of inner exception stack trace ---
> --- End of inner exception stack trace ---
> at
> Microsoft.UpdateServices.Internal.BaseApi.SoapExce ptionProcessor.DeserializeAndThrow(SoapException
> soapException) at
> Microsoft.UpdateServices.Internal.DatabaseAccess.A dminDataAccessProxy.SendTestEmail(String
> emailLanguage, String smtpUserName, String senderEmailAddress, String
> smtpHostName, Int32 smtpPort, String recipients)
> at
> Microsoft.UpdateServices.Internal.BaseApi.EmailNot ificationConfiguration.SendTestEmail()
> at
> Microsoft.UpdateServices.UI.SnapIn.Dialogs.EmailNo tificationSettingsDialog.backgroundWorker_DoWork(O bject
> sender, DoWorkEventArgs e)


Reply With Quote
  #3 (permalink)  
Old 12-27-2007
Lawrence Garvin [MVP]
 

Posts: n/a
Re: Sending E-Mail notifications from WSUS 3
> Mikie wrote:

>> I am trying to get the WSUS server to send email notifications to
>> selected
>> users and keep getting the error below.
>> I am runngin Windows Server 2003 Standard and my email server is
>> Mailtraq.
>>
>> Any Ideas??



>> System.Net.Mail.SmtpException: Failure sending mail. --->
>> System.Net.WebException: Unable to connect to the remote server --->
>> System.Exception: No connection could be made because the target machine
>> actively refused it



Most likely cause is that you've configured Mailtraq to not relay SMTP (a
GOOD thing),
or to only accept an SMTP connection from your firewall (or inbound MX
relay),
but now you'll need to configure an exception to allow inbound SMTP from
the WSUS Server.

Also, if you're using any kind of authentication mechanism on the Mailtraq
server,
make sure that either the WSUS Server is correctly configured to send
the necessary credentials,
(The E-Mail Server tab of Options | E-Mail Notifications)
or that the Mailtraq server will accept an anonymous SMTP connection
from the WSUS Server.

--
Lawrence Garvin, M.S., MCBMSP, MCTS, MCP
Senior Data Architect, APQC, Houston, Texas
MVP - Software Distribution (2005-2007)

MS WSUS Website: http://www.microsoft.com/wsus
My Websites: http://www.onsitechsolutions.com;
http://wsusinfo.onsitechsolutions.com
My MVP Profile: http://mvp.support.microsoft.com/pro...awrence.Garvin

Reply With Quote
  #4 (permalink)  
Old 02-26-2008
rameok
 

Posts: n/a
Re: Sending E-Mail notifications from WSUS 3
I am having almost the same issue as below. Have been running wsus for a
while now and decided to add email notifications. Am running an Exchange 2003
server internally. I get the following message when I click the "test"
button.

System.Net.Mail.SmtpException: Failure sending mail. --->
System.Net.WebException: Unable to connect to the remote server --->
System.Exception: No connection could be made because the target machine
actively refused it xxx.xxx.xxx.xxx:25
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at
Microsoft.UpdateServices.Internal.BaseApi.SoapExce ptionProcessor.DeserializeAndThrow(SoapException soapException)
at
Microsoft.UpdateServices.Internal.DatabaseAccess.A dminDataAccessProxy.SendTestEmail(String
emailLanguage, String smtpUserName, String senderEmailAddress, String
smtpHostName, Int32 smtpPort, String recipients)
at
Microsoft.UpdateServices.Internal.BaseApi.EmailNot ificationConfiguration.SendTestEmail()
at
Microsoft.UpdateServices.UI.SnapIn.Dialogs.EmailNo tificationSettingsDialog.backgroundWorker_DoWork(O bject sender, DoWorkEventArgs e)
--

I've tried to make sure that the machine or user has relay permissions in
Exchange, but I just can't get it to work.

Any ideas ?
RGK


"Lawrence Garvin [MVP]" wrote:

> > Mikie wrote:

>
> >> I am trying to get the WSUS server to send email notifications to
> >> selected
> >> users and keep getting the error below.
> >> I am runngin Windows Server 2003 Standard and my email server is
> >> Mailtraq.
> >>
> >> Any Ideas??

>
>
> >> System.Net.Mail.SmtpException: Failure sending mail. --->
> >> System.Net.WebException: Unable to connect to the remote server --->
> >> System.Exception: No connection could be made because the target machine
> >> actively refused it

>
>
> Most likely cause is that you've configured Mailtraq to not relay SMTP (a
> GOOD thing),
> or to only accept an SMTP connection from your firewall (or inbound MX
> relay),
> but now you'll need to configure an exception to allow inbound SMTP from
> the WSUS Server.
>
> Also, if you're using any kind of authentication mechanism on the Mailtraq
> server,
> make sure that either the WSUS Server is correctly configured to send
> the necessary credentials,
> (The E-Mail Server tab of Options | E-Mail Notifications)
> or that the Mailtraq server will accept an anonymous SMTP connection
> from the WSUS Server.
>
> --
> Lawrence Garvin, M.S., MCBMSP, MCTS, MCP
> Senior Data Architect, APQC, Houston, Texas
> MVP - Software Distribution (2005-2007)
>
> MS WSUS Website: http://www.microsoft.com/wsus
> My Websites: http://www.onsitechsolutions.com;
> http://wsusinfo.onsitechsolutions.com
> My MVP Profile: http://mvp.support.microsoft.com/pro...awrence.Garvin
>

Reply With Quote
  #5 (permalink)  
Old 02-26-2008
Lawrence Garvin [MVP]
 

Posts: n/a
Re: Sending E-Mail notifications from WSUS 3
"rameok" <rameok@discussions.microsoft.com> wrote in message
news932C4FF-5728-450C-AB9B-A6150375DF9E@microsoft.com...
>I am having almost the same issue as below. Have been running wsus for a
> while now and decided to add email notifications. Am running an Exchange
> 2003
> server internally. I get the following message when I click the "test"
> button.
>
> System.Net.Mail.SmtpException: Failure sending mail. --->
> System.Net.WebException: Unable to connect to the remote server --->
> System.Exception: No connection could be made because the target machine
> actively refused it xxx.xxx.xxx.xxx:25


It sounds like you have (correctly so, in accordance with best practices)
locked your Exchange Server down so that it doesn't accept inbound SMTP
connections from places it's not supposed to.

You'll need to modify your Exchange configuration to accept SMTP connects
from your WSUS Server.

> I've tried to make sure that the machine or user has relay permissions in
> Exchange, but I just can't get it to work.


*RELAY* permissions are not what you're looking for, since the WSUS Server
is not trying to "relay" a message. I'm presuming the terminal point of the
message is a mailbox on the Exchange Server. If so, then there's no relay
occuring. Relay would only apply if the destination mailbox were in some
other mail system external to your Exchange Server.

If your WSUS Server and Exchange Server are in the same domain, you should
be able to use the "Allow all computers which successfully authenticate..."
option.

You might also check on the default SMTP Virtual Server Properties dialog
that you're not blocking access for authentication reasons. (e.g. does your
Exchange Server accept anonymous SMTP connections?)

"Connection control" on the Default SMTP Virtual Server Properties dialog
should also be checked for correct settings.


Finally.... since Exchange/Outlook doesn't communicate on port 25 -- check
to make sure there's no local firewall on the Exchange Server restricting
where the inbound port 25 connections can come from. A practical security
setup is to lock down the local firewall so the SMTP connections can only
come from the firewall or a bridgehead server (if one is in use) or a backup
SMTP relay server.

--
Lawrence Garvin, M.S., MCBMSP, MCTS, MCP
Senior Data Architect, APQC, Houston, Texas
Microsoft MVP - Software Distribution (2005-2008)

MS WSUS Website: http://www.microsoft.com/wsus
My Websites: http://www.onsitechsolutions.com;
http://wsusinfo.onsitechsolutions.com
My MVP Profile: http://mvp.support.microsoft.com/pro...awrence.Garvin

Reply With Quote
  #6 (permalink)  
Old 02-26-2008
rameok
 

Posts: n/a
Re: Sending E-Mail notifications from WSUS 3
Thanks for the advice. As it turns out, it was my McAfee policy config to
"prevent mass mailing worms from sending mail" setting on the WSUS server.
Turned that off, and everything worked as expected.
--
RGK


"Lawrence Garvin [MVP]" wrote:

> "rameok" <rameok@discussions.microsoft.com> wrote in message
> news932C4FF-5728-450C-AB9B-A6150375DF9E@microsoft.com...
> >I am having almost the same issue as below. Have been running wsus for a
> > while now and decided to add email notifications. Am running an Exchange
> > 2003
> > server internally. I get the following message when I click the "test"
> > button.
> >
> > System.Net.Mail.SmtpException: Failure sending mail. --->
> > System.Net.WebException: Unable to connect to the remote server --->
> > System.Exception: No connection could be made because the target machine
> > actively refused it xxx.xxx.xxx.xxx:25

>
> It sounds like you have (correctly so, in accordance with best practices)
> locked your Exchange Server down so that it doesn't accept inbound SMTP
> connections from places it's not supposed to.
>
> You'll need to modify your Exchange configuration to accept SMTP connects
> from your WSUS Server.
>
> > I've tried to make sure that the machine or user has relay permissions in
> > Exchange, but I just can't get it to work.

>
> *RELAY* permissions are not what you're looking for, since the WSUS Server
> is not trying to "relay" a message. I'm presuming the terminal point of the
> message is a mailbox on the Exchange Server. If so, then there's no relay
> occuring. Relay would only apply if the destination mailbox were in some
> other mail system external to your Exchange Server.
>
> If your WSUS Server and Exchange Server are in the same domain, you should
> be able to use the "Allow all computers which successfully authenticate..."
> option.
>
> You might also check on the default SMTP Virtual Server Properties dialog
> that you're not blocking access for authentication reasons. (e.g. does your
> Exchange Server accept anonymous SMTP connections?)
>
> "Connection control" on the Default SMTP Virtual Server Properties dialog
> should also be checked for correct settings.
>
>
> Finally.... since Exchange/Outlook doesn't communicate on port 25 -- check
> to make sure there's no local firewall on the Exchange Server restricting
> where the inbound port 25 connections can come from. A practical security
> setup is to lock down the local firewall so the SMTP connections can only
> come from the firewall or a bridgehead server (if one is in use) or a backup
> SMTP relay server.
>
> --
> Lawrence Garvin, M.S., MCBMSP, MCTS, MCP
> Senior Data Architect, APQC, Houston, Texas
> Microsoft MVP - Software Distribution (2005-2008)
>
> MS WSUS Website: http://www.microsoft.com/wsus
> My Websites: http://www.onsitechsolutions.com;
> http://wsusinfo.onsitechsolutions.com
> My MVP Profile: http://mvp.support.microsoft.com/pro...awrence.Garvin
>

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
WSUS 2.0 SP1 master WSUS on W2K3 SP1 -- will it sync with WSUS 2.0 Bob microsoft.public.windowsupdate 1 11-21-2007 07:59
receiving mail notifications Gazman microsoft.public.windows.vista.mail 3 11-21-2007 00:22
Vista windows mail notifications tokendomski microsoft.public.windows.vista.mail 3 06-27-2007 00:55
Facebook e-mail notifications breach privacy Steve Security News 0 04-27-2007 04:28
Can you close windows mail and still get email notifications? =?Utf-8?B?SmF5TWM=?= microsoft.public.windows.vista.mail 2 03-05-2007 05:13




All times are GMT +1. The time now is 18:31.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120