Why does Exchange block GPG-encrypted messages?

Posted on 2009-04-06
Last Modified: 2013-11-30
I am trying to implement an encryption solution using GPG, but it seems our Exchange server is blocking every message that has been encrypted. Signed messages work fine, and receiving encrypted messages also works, but as soon as i try to send an encrypted message, i get a mail from "System administrator" (wouldn't that be me? ;)) telling me that the the message couldn't be delivered, and a pretty uninformative error-code: [0x80004005-00000000-00000000]. Googling it doesn't really turn up much. I have tried disabling our av/spam detection and smtp scanner in our sonicwall, but to no avail. We also have a trend-micro mail scanner running on the exchange server, which i've also tried disabling, and it doesn't help. I've also tried checking and fixing the exchange servers mailbox store integrity, no help either. Can anyone help?
Question by:markqvist
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 65

Expert Comment

ID: 24082816
I doubt if it is Exchange blocking the message. The AV would be my guess. Unfortunately disabling the AV is not enough, you need to remove it. When it is disabled its hooks remain in the system.
It could also be your firewall, if that scans SMTP traffic.
Exchange doesn't care what the message is, but something scanning the traffic would.


Author Comment

ID: 24088255
Thank you for the feedback. Unfortunately, totally removing the AV is not an option, since it is running on our production Exchange server, and it also wouldn't be very smart cost-wise, since we already paid for a license that runs a few years from now. Can you suggest alternative options? We are running Trend Micro as our antivirus.

Author Comment

ID: 24088274
To clarify, I didn't just disable the AV entirely. I went to the configuration console and disabled all scanning modules relevant for outgoing mail traffic.
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

LVL 65

Expert Comment

ID: 24088579
Due to the way that the AV integrates with Exchange, removing it is the only way to prove it is not the cause of the problem. Disabling it is not enough, because of the hooks in to the application.

You need to remove it, then reboot. If the problem goes away, try reinstalling it. If the problem returns then you have to go back to Trend and ask them why they are blocking the messages.
If they cannot assist, then you will have to find another product or use a different system to encrypt messages.


Author Comment

ID: 24088950
Thank you for your insight. I guess I will just have to try it out... We'll see if it works ;)

Accepted Solution

markqvist earned 0 total points
ID: 24418967
Turns out theres a bug in gnupg that prevents it from sending through exchange. I solved it by installing a local smtp server on the computers and sending through that :)

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
When you’re making plans to join the modern business race, you should analyze various details that may affect your results. Nowadays, millions of businesses are trying to grow into established and appreciated professional enterprises.
This video discusses moving either the default database or any database to a new volume.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question