Outlook 365 keeps asking password on Exchange server

This issue occurs in newer Outlook 365 versions in combination with a on premise Exchange server. When the outlook client is configured, it sometimes asks to log in with your credentials into a 365 portal even when the email address doesn’t exist in Office 365. To solve this, we will need to add some registry …

Test sending e-mails from mailserver using PowerShell

I’ve been using Telnet for a while now to test sending emails from a SMTP relay server. But if you are using a Windows server/client, the easier way is to use Powershell, as Telnet is unforgiving for syntax errors. If you are directly logged in to the SMTP server, you can use this PowerShell code: …

Exchange 2010 QUEUE Expired Bug

When using Exchange 2010 there could be a moment where a message gets stuck in the message queue with the message: ‘A storage transient failure has occurred during content conversion‘. This is due to a transport/queue bug in Exchange 2010 The solution (more like a workaround) seemed quite simple: just enable TNEF. You can do …

Message Tracking with Powershell in Exchange

This is an example of a Message Tracking command that I use most: Get-Messagetrackinglog -ResultSize Unlimited -Recipients:user@contoso.com -EventID “RECEIVE” -Start “09/25/2016 4:30:00 PM” -End “09/30/2016 5:17:00 PM” | select-object eventid,timestamp,messageid,sender,recipients,messagesubject | Out-GridView These are the parts that will improve search results and make it easier for you to understand the results: -ResultSize Unlimited specifies the …

SPF record not working with on-premise Exchange server

When you add an SPF record to your domain’s DNS and still messages can be sent with non-user email adresses (spoofed), this is probably the reason: SPF is not fully propagated Your on-premise exchange does not have any anti-spam agents installed. You can check this with this Powershell command: Get-TransportAgent When the anti-spam agents are not …