<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Exchange-Genie &#187; user notification</title>
	<atom:link href="http://www.exchange-genie.com/category/user-notification/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.exchange-genie.com</link>
	<description>This blog is dedicated to Microsoft Exchange</description>
	<lastBuildDate>Sun, 05 Sep 2010 22:45:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Custom notifications and DSN&#039;s</title>
		<link>http://www.exchange-genie.com/2007/12/custom-notifications-and-dsns/</link>
		<comments>http://www.exchange-genie.com/2007/12/custom-notifications-and-dsns/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 01:49:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[user notification]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=31</guid>
		<description><![CDATA[Exchange 2007 continues to provide flexability for administrators to customize DSN or user notifications. This can only be done from EMS (Exchange Management Shell), but is easy to configure. For this article I will configure 2 items 1. custom quota notification and 2. custom DSN for internal users only. Custom Quota Notifiation:Lets start by setting [...]]]></description>
			<content:encoded><![CDATA[<p>Exchange 2007 continues to provide flexability for administrators to customize DSN or user notifications. This can only be done from EMS (Exchange Management Shell), but is easy to configure.</p>
<p>For this article I will configure 2 items 1. custom quota notification and 2. custom DSN for internal users only.</p>
<p><strong></strong><strong>Custom Quota Notifiation:</strong><br />Lets start by setting a user account to a low send/recieve quota so that we can generate the notification.</p>
<p>Open EMS<br />Set-Mailbox brian.tirch -IssueWarningQuota 8kb -ProhibitSendQuota 12kb<br /><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R2nMok8_nsI/AAAAAAAAAdc/j0yriqwQ2bs/s1600-h/set-mailbox.jpg"><img id="BLOGGER_PHOTO_ID_5145869046733840066" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R2nMok8_nsI/AAAAAAAAAdc/j0yriqwQ2bs/s320/set-mailbox.jpg" border="0" /></a></p>
<p>This will set my user account to recieve an warning message at 8kb and prohibsend at 12kb (large mailbox huh)</p>
<p>Now that we have reduced the mailbox size lets setup our custom system message for our users</p>
<p>Open EMS<br /><span style="color:#33cc00;">New-SystemMessage -Language EN -QuotaMessageType warningmailbox -Text &#8220;You need to delete some items from your inbox befor you go over your limit!&#8221;</span><br /><span style="color:#000000;"></span><br /><span style="color:#000000;">The command above sets the warning message, now I will set the prohibit send message</span><br /><span style="color:#33cc00;">New-SystemMessage -Language EN -QuotaMessageType prohibitsendmailbox -Text &#8220;Your mailbox is over its limit because you did not read the warning you canot send emails until you reduce your mailbox size!&#8221;</span></p>
<p>If you perform a <span style="color:#33cc00;">Get-Systemmessage</span> we can see the 2 newly created user notifications.<br /><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R2nOsE8_ntI/AAAAAAAAAdk/8bahGFtPorM/s1600-h/getmessage.jpg"><img id="BLOGGER_PHOTO_ID_5145871305886637778" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R2nOsE8_ntI/AAAAAAAAAdk/8bahGFtPorM/s320/getmessage.jpg" border="0" /></a></p>
<p>I logged onto OWA and sent my Brian account an attachment to cause the system to generate the notification messages.</p>
<p>If we use the get-mailboxdatabase command we can see the by default the notification are set to be send each night between 12 and 12:15.</p>
<p>I am going to change this to speed up my notification process<span style="color:#33cc00;">get-mailboxdatabase Set-MailboxDatabase -QuotaNotificationSchedule &#8220;Wed.9:00 PM-Fri.9:30 pm&#8221;</span></p>
<p><span style="color:#000000;">As you can see we have now recieved our custom notification</span><br /><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R2nWHU8_nwI/AAAAAAAAAd8/SURg6d8JHi0/s1600-h/notification.jpg"><img id="BLOGGER_PHOTO_ID_5145879470619467522" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R2nWHU8_nwI/AAAAAAAAAd8/SURg6d8JHi0/s320/notification.jpg" border="0" /></a></p>
<p><strong>Configuring custom DSN</strong><br />Often users make mistakes when trying to send to user a typo etc&#8230; I am going to create a custome DSN for an invalid users.</p>
<p>Lets start by attempting to send to a user that does not exist and see the NDR we get back.</p>
<p>You can see we receieved an NDR with status code<br /><span style="color:#ff0000;">#550 5.1.1 RESOLVER.ADR.RecipNotFound; not found ##</span></p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R2nVLU8_nvI/AAAAAAAAAd0/4gOXr4roEJw/s1600-h/ndr.jpg"><img id="BLOGGER_PHOTO_ID_5145878439827316466" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R2nVLU8_nvI/AAAAAAAAAd0/4gOXr4roEJw/s320/ndr.jpg" border="0" /></a></p>
<p><span style="color:#000000;">Lets create a custom NDR that can provide our users with some steps to check before they attempt to contact the help desk generating support.</span><br /><span style="color:#33cc00;">New-SystemMessage -DsnCode 5.1.1 -Text &#8220;The intended recpient was not found on your Exchange Organization please check the following: 1. Was the recipients name spelled correctly, 2. try deleting your Outlook Cache and resending. If these steps do not fix the problem contact the user to validate thier email address or contact support a xxxxx&#8221; -Internal $true -Language EN</span><br />we have now created a custom message, so lets generate an NDR and see what happens<br /><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R2nVBk8_nuI/AAAAAAAAAds/8kNvAduRhAs/s1600-h/custom.jpg"><img id="BLOGGER_PHOTO_ID_5145878272323591906" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R2nVBk8_nuI/AAAAAAAAAds/8kNvAduRhAs/s320/custom.jpg" border="0" /></a><br />Notice I created this code to internal only, so that external users, spammers etc&#8230; do not get this private information.</p>
<p>References:<a href="http://technet.microsoft.com/en-us/library/aa998037.aspx"></a><br />Understanding Quota Messages <a href="http://technet.microsoft.com/en-us/library/bb232173.aspx">http://technet.microsoft.com/en-us/library/bb232173.aspx</a><br />How to Manage Quota Messages <a href="http://technet.microsoft.com/en-us/library/bb232089.aspx">http://technet.microsoft.com/en-us/library/bb232089.aspx</a><br />New-SystemMessage <a href="http://technet.microsoft.com/en-us/library/aa998878.aspx">http://technet.microsoft.com/en-us/library/aa998878.aspx</a><span id="more-31"></span><!--ab644f7b008347a89c825c6c07f2855941241603807--></p>
<table style='display:none'>
<tr>
<td><a href=http://paff.org/gal/movies/happy-go-lucky.html>happy go lucky movie summary</a></td>
<td><a href=http://paff.org/gal/movies/wicked-lake.html>wicked lake movie rating</a></td>
<td><a href=http://paff.org/gal/movies/king-of-new-york.html>king of new york american movie</a></td>
<td><a href=http://paff.org/gal/movies/queen-of-spades-the.html>queen of spades the movie seen</a></td>
<td><a href=http://paff.org/gal/movies/never-back-down.html>never back down internet movie database</a></td>
<td><a href=http://paff.org/gal/movies/my-bloody-valentine.html>my bloody valentine movie extras</a></td>
<td><a href=http://paff.org/gal/movies/dead-like-me.html>dead like me movie theater</a></td>
<td><a href=http://paff.org/gal/movies/dark-honeymoon.html>dark honeymoon movie 6 net</a></td>
<td><a href=http://paff.org/gal/movies/miracle-at-st-anna.html>miracle at st anna eldest movie</a></td>
<td><a href=http://paff.org/gal/movies/living-hell.html>living hell movie forum</a></td>
<td></td>
</tr>
</table>
<p><!--/ab644f7b008347a89c825c6c07f2855941241603807--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2007/12/custom-notifications-and-dsns/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
