Friday, August 20, 2010

order to use when stopping and restarting BES services

When stopping and restarting BES services in the course of troubleshooting, I found this KB on the correct order to stop services and the correct order to start the services after they have been stopped. From the KB:

The correct order to start the BlackBerry Enterprise Server services is detailed below:

  1. BlackBerry Router
  2. BlackBerry Dispatcher
  3. BlackBerry Controller
  4. All remaining BlackBerry Enterprise Server services
The following is the order in which to stop the BlackBerry Enterprise Server services:
  1. BlackBerry Controller
  2. BlackBerry Dispatcher
  3. BlackBerry Router
  4. All remaining BlackBerry Enterprise Server services

Thursday, August 12, 2010

my static packet filters nightmare

It's been a bit since I ran into this problem, so I may not be remembering all the details correctly. But here's the gist -

In the course of setting up an Exchange 2010 server, I lost all network connectivity to my 2008 R2 box. I know I broke it, but I wasn't sure how. The answer was that I had enabled static packet filters when trying to set up routing and remote access via Network Policy and Access Services. Static Packet Filters are basically an additional option for denying access to certain ports - but if you have a firewall, you're already using another option for that functionality. I was just clicking through the Network Policy and Access Services installation and hit YES on something I wasn't paying attention to.

To remove the problem once I had realized what I did, I did this (according to my notes):

I opened RRAS and went to IPv4 -> General. Right clicked on my NIC and clicked on inbound and outbound filters each and chose "receive all packets . . . " instead if "drop all packets . . . "


Though looking back at it a couple months later, I don't see the same options when I right click on my NIC in RRAS. But hopefully, someone else will find this helpful at some point.

Tuesday, August 10, 2010

running message tracking on Exchange 2007 with wildcards

From what I can tell, the message tracking tool on Exchange 2007 does not allow wildcards like *@domain.com. I found this command which will allow you to use a wildcard value in the Exchange Shell:

get-messagetrackinglog -Server "Exchange-server-name" -Start "7/1/2010 11:34:00 AM" -End "8/10/2010 9:44:00 AM" -resultsize unlimited |where {$_.Sender -like "*@domain.org"}

This will allow you to get a list that uses the wildcard - but the results it gives you are pretty weak. It doesn't include dates and the subject is cut off, but it's a good place to start.

Friday, August 6, 2010

PDF options for creating and/or editing PDFs

When a user wants to create and/or edit PDFs, there are several options. This post will lay out the most common ones I have come across, including costs as of 8/6/10.

Office 2007/2010 - You're able to create PDFs from any of the Office 2007/2010 programs. From Word, Excel, PowerPoint, you can choose Save As and save any file as a PDF (you'll need service pack 2 or the PDF add-on to be able to save in Office 2007).

PDF995 - a low cost option for creating and making minor edits to PDFs. From PDF995.com, one can install the PDF Suite, which includes PDF converter and PDF editor. The PDF converter will let you create PDFs from any program and the PDF editor will let you make certain edits within an existing PDF (add page numbers, extract, remove, combine pages, etc). PDF995 is free as an ad-supported version (you see ads as you use it) or you can pay $19.95 for the PDF Suite or $9.95 for the PDF converter only. PDF995 is cheap, but not as full featured or easy to use as the more expensive programs (see below).

Adobe Acrobat Standard or Professional - Often, Adobe Acrobat is considered the gold standard for PDF creation. Adobe Acrobat Reader (which can only view PDFs) is far and away the most common PDF viewer. Adobe Acrobat Standard allows for PDF creation and editing in most ways. Acrobat Professional also adds functionality for protecting PDFs and creating forms. As of 8/6/10, the MSRP of Acrobat Standard is $299 and the MSRP of Acrobat Professional is $499. Often, you can save up to 30% from online stores like Amazon.com.

NitroPDF - NitroPDF is a full featured alternative to Acrobat Standard. As far as I know, it has all the same functionality as Acrobat Standard. As of 8/6/10, NitroPDF is $99. I have several clients using NitroPDF who have used Acrobat and find it just as good (or even better) for significantly less money.

For basic PDF creation, often Office 2007/2010 is plenty for most users as most PDFs are created out of Word or Excel. For most advanced users, the PDF995 Suite is generally good enough for basic uses, but I find most average users have some trouble with the interface. For the average user, I recommend NitroPDF. It's more cost effective than Acrobat, and it's a solid program. For the most discriminating users, I recommend Acrobat Professional.

Monday, July 26, 2010

sending spam to junk email folder on Exchange 2007/2010

When configuring actions on detected spam on Exchange 2007 and 2010, there is no option to send it to the junk email folder when configuring it on the EMC. This is absurd. It looks like this (shown here are the actions on the content filter):



As stupid as it is, the way you can configure an SCL to be sent to the junk e-mail folder is through the PowerShell.

This command will send all junk with an SCL of 4 or higher to junk e-mail:

Set-OrganizationConfig -SCLJunkThreshold 4

I put this command on all my Exchange servers. I also disable all outright rejection of spam. Users hate it when legitimate email gets rejected. All spam goes into the junk email folder.


More info on this issue is located here:
http://technet.microsoft.com/en-us/library/bb738127(v=exchg.80).aspx

Tuesday, July 13, 2010

allowing anonymous sending on SBS 2008 (for scan to email copiers or other devices)

I had put an SBS 2008 box in place for a client. I had to alter settings as the old mail server had allowed anonymous sending on the LAN. I tried a bunch of differnet credential combinations and ports and SSL options and none of them worked. Then I found this post, which walked me through created a receive connector that allowed anonymous senders on the IP addresses you specify.

The short version of the article.

Go to EMC.
Go to Server Configuration -> Hub Transport
Highlight your server in the top middle field and choose new receive connector on the right side
Call the connector "copier" without quotes and type is custom
Note sure if this is necessary, but add the internal FQDN in the bottom box such as contoso1.contoso.local
Leave the local network settings alone
In remote network settings, remove the existing content. Add a single entry for the IP address of the copier like 192.168.0.10)
Hit NEW.
Now, right click on the connector you just created and clear all check boxes on the authentication tab.
On the permission groups tab, check the box for anonymous users.

Then open the Exchange PowerShell and run this command:

Get-ReceiveConnector "copier" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient"

On your copier, you can now send over port 25 without SSL and without the need for sending credentials either.

Saturday, July 10, 2010

adding a UCC (mulitple name) SSL certificate to SBS 2008

Adding a single name SSL certificate to SBS 2008 is pretty easy using the "add a trusted certificate" wizard in SBS 2008. But it's not as easy if you want a UCC SSL certificate - should you have a DNS host that doesn't support SRV records.

I found sembee's blog post on this exact topic here. His steps are a little convoluted, but here's a short version with just the need to know info:

You're not going to use the wizard. You'll use the powershell.

You'll go to Digicert's wizard for UCC creation:
https://www.digicert.com/easy-csr/exchange2007.htm

Then use the Powershell command it creates on your SBS 2008 box. It'll create a CSR file on the root of your C drive.

Take that CSR file to your SSL cert provider (godaddy or whoever). Buy the UCC cert and put in the CSR as needed.

After your cert is approved, download the cert and use this command to import the certificate:
Import-ExchangeCertificate -Path “D:\Shares\Install\SSL Cert\mail_ExternalDomaiName_com.crt” -FriendlyName “CompanyName UCC Cert”
(altered as appropriate of course for the actual path of your SSL cert)

Also follow the necessary instructions provided by the cert provider about intermediate certification authorities if applicable. Restart the MS Exchange Transport service and run an iisreset.

Then go back to the "add a trusted certificate wizard" in the SBS console and tell it that you'll use an already existing certificate and choose the cert that you just imported.


EDIT - this all makes sense, and I should see this working as I see the certificate in the personal store of the certificates MMC, so I should be able to add the UCC cert in the "add a trusted certificate wizard" - but I don't see it there, so I'm going to go the more manual route and follow these instructions:

http://www.xbarit.com/bradblog/2009/12/14/how-to-manually-install-an-ssl-certficate-on-sbs-2008/