Josh M. Hurd writes:
I need some help trouble shooting a maildirI suspect there is a corrupt item somewhere is a user maildir. When the user tries checking mail with his client it hangs.Is the case for POP and IMAP and while using Squirrel Mail and other clients.The pop/imap process starts and runs for a short while then it vanishes.What are the tools available to reconstruct, rebuild, etc a maildir under Courier?
The 'rm' command will do nicely.The maildir format cannot be any more simpler than it already is: one file per message.
Other ancillary files that the server uses are rebuilt automatically, when needed.
The only potential source of possible corruption are illegal filenames. Names of the individual message files must follow a specific convention. The filename format is actually very liberal, and almost anything goes. The only real problem would be having an extra ':' character in the filename, or more than one file with the same base part, but a different suffix.
In that case, identify the problem files, and rm-ing them will take care of it.
pgpyx1mHfLetI.pgp
Description: PGP signature
