How do I fix a mailbox that contains mis matched CR and LF characters?

  1. Home
  2. Knowledge Base
  3. GMS
  4. How do I fix a mailbox that contains mis matched CR and LF characters?

Question

I have a users mailbox that contains mis matched CRLF characters. When I rebuild the index for this mailbox the index is not set correctly causing the message separators to not be found correctly.

Is there a way that I can resolve this issue?

Answer

By default GMS rejects all mail that contains mis matched CRLF characters. According to RFC standards all lines must terminated with a carriage return, line feed pair <CRLF>.

Unfortunately, some mail servers (especially old versions of Sendmail) only terminate with a carriage return. Rather than disable this requirement, it would be better to try to persuade the administrator of the non-standard mail server to update it. But, if this isn’t possible, GMS can be modified to accept this shortcoming from the System > Compliance page.

If you are in the position of having a mailbox on your server that contains mis matched CRLF characters then you will need to use the utility mail.exe found in the gordanobin directory to rebuild the mailbox. This utility will automatically recognise the mis matched CLF characters and offer you the option to repair them.

The command line for this is:

mail -domain usersdomain -index username

Replace "usersdomain" with the domain on your server the user is located in, and "username" with the actual account name of the affected user.

Keywords:mailbox rebuild index mismatched crlf

Was this article helpful?

Related Articles