[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3377
  • Last Modified:

500 - Line Too Long in Exchange 2007

Our orginization is currently running Exchange 2007. One of my users is saying they cant get e-mails from a specific sender that is using AOL. They are recieving a "500 - Line Too Long" error.


   ----- The following addresses had permanent fatal errors -----

   ----- Transcript of session follows -----
... while talking to webmail.MyDomain.com.:
>>> DATA
<<< 500 Line too long
554 <User@MyDomain.com>... Remote protocol error
Final-Recipient: RFC822; User@MyDomain.com
Action: failed
Status: 5.5.2
Remote-MTA: DNS; webmail.MyDomain.com
Diagnostic-Code: SMTP; 500 Line too long
Last-Attempt-Date: Mon, 6 Aug 2007 08:45:26 -0400 (EDT)
Received: from User@aol.com


We have a WatchGuard Firewall and Spam appliance sitting in front of the Exchange 2007 server.

Any idea on what is causing this???

Thanks... :)
1 Solution
I believe that you are using SMTP proxy for the incoming traffic [WSM ver 8.3.1 or higher, if you are using some other version the settings remain same but the location to find item might change], please go to SMTP properties:
1. Go to Properties tab of your SMTP proxy service.
2. Under the Proxy drop-down, it should be SMTP-Incoming; click View/Edit Proxy.
3. Under General, go to General Settings
4. As the data length is getting error line too long, look at properties:
Maximum e-mail size
Maximum e-mail line length

After changing the value depending on the email which you are receiving and you want to alllow, the email should come in.

Other option(s), though not recommended, is to configure SMTP for no filtering for that specific email server (if it is business criticial) or not limiting the size enforcements for that server. Removing complete size enforcements for the server from ANY source is not a good idea at all.

Please implement and update.

Thank you.

fgarufijrAuthor Commented:
Thanks Deepak! :)

That took care of the problem :)

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Tackle projects and never again get stuck behind a technical roadblock.
Join Now