Increase Maximum Acceptable Message Size in Exchange Server 2010

On Small Business Server 2011 you receive the following event ID in the event log and messages are not retrieved from a POP3 account using the pop3 connector:

 

********************************

Log Name: Microsoft-Windows-Small Business Server/Operational

Source: Windows Small Business Server 2011 Standard
Event ID: 210
Task Category: Windows SBS POP3 Connector
Level: Error

One or more messages (1) were left in the ‘xxxxx@xxxxxxx.com.au’ account on the POP3 server ‘xxxxx.xxxxxxx.com.au’ because they are larger than the maximum acceptable message size (the largest message is 11533705 bytes). You can either connect to the POP3 account and retrieve or delete the messages manually, or increase the maximum acceptable message size in Exchange Server.

********************************

To Fix this you will need to open an Exchange Management Shell and run the following:

get-receiveconnector | select identity,maxmessagesize

As you can see this shows a list of receive connectors on your server. In this case they are currently at 20Mb which I’ve found to be adequate. If yours are lower than this you can change the MaxMessageSize with the following:

set-receiveconnector “Windows SBS Fax Sharepoint Receive SERVER1″ -maxmessagesize 20MB

In this case the command did nothing as the connector was already at 20Mb. Change all three connectors to your desired levels.

Share

Cannot Search Within File Contents of PDF Documents on Windows 7 64 bit

Check to see if you have the iFilter installed:

Open Control Panel and type in the search box “Change how windows searches” and click on the link shown:

Select Advanced

Then select the File Types Tab and scroll down to PDF and you will see “Registered iFilter is not found”

Cancel and close out of these screens and goto http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025 and download and install the fix from adobe.

Share

Add printer IP port using Powershell

The below will create a TCP/IP printer port using PowerShell:

$server=”servername”
$printerip=”1.1.1.1″
$port = ([WMICLASS]“\\$server\ROOT\cimv2:Win32_TCPIPPrinterPort”).createInstance()
$port.Name=”IP_10.25.128.31″
$port.SNMPEnabled=$false
$port.Protocol=1
$port.HostAddress=$printerip
$port.Put()
$port

To Automate it somewhat you can feed the parameters into it using arguments, you can run the commands using excel and copy into a batch file.

# This script requires 3 paramaters at the command in the form:
# .\CreatePrinterPort.ps1 servername IPAddress PortName
$server=$args[0]
$printerip=$args[1]
$port = ([WMICLASS]“\\$server\ROOT\cimv2:Win32_TCPIPPrinterPort”).createInstance()
$port.Name=$args[2]
$port.SNMPEnabled=$false
$port.Protocol=1
$port.HostAddress=$printerip
$port.Put()
$port

Share