Change port used by Exchange 2007 / 2010 send connector when using smarthost

Some smarthost providers/smtp relay servers will only allow you to connect to ports other than port 25 or your ISP is blocking outgoing port 25.

In both cases you have to change the SendConnector port, this can’t be done in the exchange management console, so you have to use the Exchange Managment Shell.

List SendConnectors and port nummers:

Get-SendConnector | ft Id*,Sm*s,po*

Change the port for SendConnector:

Set-SendConnector "[SendConnector name]" -port [Port nummer]

eg:

Set-SendConnector “OutboundMail” -port 3535

No tips yet.
Be the first to tip!

Like this post? Tip me with bitcoin!

1DUeUE1gs4UTsqhKkaQHzskCinSa7DVYhP

If you enjoyed reading this post, please consider tipping me using Bitcoin. Each post gets its own unique Bitcoin address so by tipping you're not only making my continued efforts possible but telling me what you liked.

VN:F [1.9.22_1171]
Rating: 6.0/6 (2 votes cast)

452 4.3.1 Insufficient system resources

When the mail is not received by the mail server and you receive the error message from your mail gateway or a telnet client:
said: 452 4.3.1 Insufficient system resources (in reply to MAIL FROM command)

Or there is a event id 15006:

Microsoft Exchange Transport is rejecting message submissions because the available disk space has dropped below the configured threshold.

The following resources are under pressure:
Queue database logging disk space (“D:\Programs\Microsoft Exchange 2010\TransportRoles\data\Queue\”) = 60% [Medium] [Normal=58% Medium=60% High=62%]

Then the problem is that there are to less system recourses. In this case the disk space where the queue is, is to small. You can resize the volume or you can change the queue location in the file:
Exchange installation Directory\Bin\EdgeTransport.exe.config

You must change the following to keys:

<add key=”QueueDatabasePath” value = “D:\Queue”/>
<add key=”QueueDatabaseLoggingPath” value = “D:\QueueLog”/>

After this you must restart the Exchange Transport Service.

No tips yet.
Be the first to tip!

Like this post? Tip me with bitcoin!

18F7vwBXKfyRFiheGKSFnTFoUck9JHzjuo

If you enjoyed reading this post, please consider tipping me using Bitcoin. Each post gets its own unique Bitcoin address so by tipping you're not only making my continued efforts possible but telling me what you liked.

VN:F [1.9.22_1171]
Rating: 6.0/6 (1 vote cast)

Exchange 2010 Smtp Log Location

C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\ProtocolLog

No tips yet.
Be the first to tip!

Like this post? Tip me with bitcoin!

14JH2dCxKhkd7YqLEq9yqTYaqBQCRoPfxo

If you enjoyed reading this post, please consider tipping me using Bitcoin. Each post gets its own unique Bitcoin address so by tipping you're not only making my continued efforts possible but telling me what you liked.

VN:F [1.9.22_1171]
Rating: 2.0/6 (1 vote cast)

Exchange 2010: Check Available New Mailbox Space On Mailboxdatabases

Get-MailboxDatabase -status | FL AvailableNewMailboxSpace

No tips yet.
Be the first to tip!

Like this post? Tip me with bitcoin!

1MfxqwSQ7LEQTgWUXHaBHDNvyb9CHVaU89

If you enjoyed reading this post, please consider tipping me using Bitcoin. Each post gets its own unique Bitcoin address so by tipping you're not only making my continued efforts possible but telling me what you liked.

VN:F [1.9.22_1171]
Rating: 0.0/6 (0 votes cast)

Exchange 2010 Powershell: Find owner of an email address

Trying to create a mailbox only to find the email address already in use ?
Run the following in an Exchange 2010 Powershell Window.

get-recipient -results unlimited | where {$_.emailaddresses -match “email-address-here”} | select name,emailaddresses,recipienttype

No tips yet.
Be the first to tip!

Like this post? Tip me with bitcoin!

1PUGrqrLiEhkSCoUTYf2KBi8aA7joJDNm6

If you enjoyed reading this post, please consider tipping me using Bitcoin. Each post gets its own unique Bitcoin address so by tipping you're not only making my continued efforts possible but telling me what you liked.

VN:F [1.9.22_1171]
Rating: 0.0/6 (0 votes cast)

Change Language on NDR Messages In Exchange 2010

When Exchange Server 2010 have to send out NDR messages it will attempt to detect the language of the message, and reply in that language,
If it cannot detect the language, it will reply in the default language from It’s configuration.

To change the language in the configuration, run these commands in Exchange Management Shell:

NDRs for mails received from external domains:

Set-TransportConfig -ExternalDsnDefaultLanguage en-us

And for NDRs for mails received from internal domains:

Set-TransportConfig -InternalDsnDefaultLanguage en-us

Disable auto detection from external domains:

Set-TransportConfig -ExternalDsnLanguageDetectionEnabled $false

Disable auto detection from internal domains:

Set-TransportConfig -InternalDsnLanguageDetectionEnabled $false

No tips yet.
Be the first to tip!

Like this post? Tip me with bitcoin!

1EBBM7cfYKsQs1QPMMz46idRgC5mn3v8jt

If you enjoyed reading this post, please consider tipping me using Bitcoin. Each post gets its own unique Bitcoin address so by tipping you're not only making my continued efforts possible but telling me what you liked.

VN:F [1.9.22_1171]
Rating: 0.0/6 (0 votes cast)

Exchange ActiveSync doesn’t have sufficient permissions to create the “CN=user name,OU=OU Name,DC=dc-name,DC=local”

The other day we got this error on our Exchange 2010 when synchronising e-mail on a mobilephone using ActiveSync. When we tried to setup the ActiveSync account, we got the following error message (Source MSExchange ActiveSync, ID 1053) on the server’s eventlog.

Exchange ActiveSync doesn’t have sufficient permissions to create the “CN=username,OU=OU Name,DC=dc-name,DC=local” container under Active Directory user “Active Directory operation failed on dc-name.local. This error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-03151E04, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0“.
Make sure the user has inherited permission granted to domain\Exchange Servers to allow List, Create child, Delete child of object type “msExchangeActiveSyncDevices” and doesn’t have any deny permissions that block such operations.

To fix it logon your DC Server:

  1. Open “Active Directory Users and Computers”.
  2. Find the user, and right click, select “Properties”.
  3. Select “Security” Fan.
  4. Click “Advanced”.
  5. And check “Include inherited permissions from this object`s parrent”.
  6. And then click Apply.

That’s it !

No tips yet.
Be the first to tip!

Like this post? Tip me with bitcoin!

1DTVHmQjsZKTrRM1aiajnE77nPJ7BMFbeu

If you enjoyed reading this post, please consider tipping me using Bitcoin. Each post gets its own unique Bitcoin address so by tipping you're not only making my continued efforts possible but telling me what you liked.

VN:F [1.9.22_1171]
Rating: 0.0/6 (0 votes cast)

Exchange ActiveSync doesn’t have sufficient permissions to create the “CN=user name,OU=OU Name,DC=dc-name,DC=local”

The other day we got this error on our Exchange 2010 when synchronising e-mail on a mobilephone using ActiveSync. When we tried to setup the ActiveSync account, we got the following error message (Source MSExchange ActiveSync, ID 1053) on the server’s eventlog.

Exchange ActiveSync doesn’t have sufficient permissions to create the “CN=username,OU=OU Name,DC=dc-name,DC=local” container under Active Directory user “Active Directory operation failed on dc-name.local. This error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-03151E04, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0“.
Make sure the user has inherited permission granted to domainExchange Servers to allow List, Create child, Delete child of object type “msExchangeActiveSyncDevices” and doesn’t have any deny permissions that block such operations.

To fix it logon your DC Server:

  1. Open “Active Directory Users and Computers”.
  2. Find the user, and right click, select “Properties”.
  3. Select “Security” Fan.
  4. Click “Advanced”.
  5. And check “Include inherited permissions from this object`s parrent”.
  6. And then click Apply.

That’s it !

No tips yet.
Be the first to tip!

Like this post? Tip me with bitcoin!

1DX9pij6UbV3aubyCTYZ5qHQavNKsCSi7P

If you enjoyed reading this post, please consider tipping me using Bitcoin. Each post gets its own unique Bitcoin address so by tipping you're not only making my continued efforts possible but telling me what you liked.

VN:F [1.9.22_1171]
Rating: 0.0/6 (0 votes cast)

Set calendar-permissions for mailboxes in Exchange Server 2010

I was looking for at way to set default calendar-permissions in exchange 2010, and found out that the only way to do this, is the scripting way.

So i found a script and modified it ( ALOT ) to fit my need


#Load Exchange Server 2010 Management Shell if not loaded.

if (-not (Get-PSSnapin | Where-Object {$_.Name -like "Microsoft.Exchange.Management.PowerShell.E2010"})){
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
}

#Custom variables
$mailboxes = Get-Mailbox
$AccessRights = "Reviewer"

#Loop through all mailboxes
foreach ($mailbox in $mailboxes) {

#Retrieve name of the user`s calendar
$calendar = (($mailbox.SamAccountName)+ ":\" + (Get-MailboxFolderStatistics -Identity $mailbox.SamAccountName -FolderScope Calendar | Select-Object -First 1).Name)

#Check if calendar-permission for user "Default" is set to the default permission of "AvailabilityOnly"
if (((Get-MailboxFolderPermission $calendar  | Where-Object {$_.User -like "Default"}).AccessRights) -like "AvailabilityOnly" ) {

Write-Host "Updating calendar permission for $mailbox..." -ForegroundColor Yellow

#Set calendar-permission for user "Default" to value defined in variable $AccessRights
Set-MailboxFolderPermission -User "Default" -AccessRights $AccessRights -Identity $calendar
}
}

And then a bat file to execute it from “scheduled task”


powershell -command "&amp; 'C:\PATH-TO-FILE\Set-CalendarPermissions.ps1' "

No tips yet.
Be the first to tip!

Like this post? Tip me with bitcoin!

13FFT2E9nXwhf2VjsKaLcmQM3TRWPY7ip4

If you enjoyed reading this post, please consider tipping me using Bitcoin. Each post gets its own unique Bitcoin address so by tipping you're not only making my continued efforts possible but telling me what you liked.

VN:F [1.9.22_1171]
Rating: 5.3/6 (3 votes cast)