Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 1st January 2013, 21:56
Kira Kira is offline
Join Date: Jun 2011
Posts: 35
Thanks: 0
Thanked 3 Times in 3 Posts
Default Courier IMAP problem


I have a problem with my courier-imap (sorry if I am totally wrong here.. but, here are some geniuses around).

Lately a user accidentally deleted all his messages from his IMAP Inbox.. since we backuped everything it was no problem to restore the backup of his mailbox.

We recovered this directory from the backup:

Everything works fine, except.. all his mails are showing up with a wrong "Date Received". The Webmail Interface is displaying the correct dates, so it's probably an issue with his Mail Client (Apple Mail.app / iPhone).

It seems as if the Mail Client is using the "ctime" from the filesystem. I checked some files in the cur directory, they all have the correct "mtime", but of course they all have a ctime of today.

Is there any way to fix this? Sadly there is no possible fix on the Client side

Thanks and a happy new year!
Reply With Quote
Sponsored Links
Old 2nd January 2013, 08:11
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,388
Thanks: 833
Thanked 5,485 Times in 4,317 Posts


as far as I know, the ctime of a file can not be set "manually". It is alwaysset to the date when the file is created.

I did not had this problem yet so I dont know if there is a different way to fix the issue in courier without setting ctime.

For future backups, you might want to check if your backup program is able to store all file permissions and dates like tar does it with:

tar -pcfz archive.tar.gz /var/vmail
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Major recovery Toucan Installation/Configuration 18 9th August 2011 11:45
MySQL Error Nolan Installation/Configuration 12 16th February 2011 02:15
Anyway to fix the courier imap quota integer overflow? CarbonCopy Server Operation 4 9th August 2009 13:37
Courier IMAP / POP3 error when re-creating ssl certificate Debian2009 Server Operation 4 24th April 2009 02:47
Courier IMAP - when does it delete deleted messages?? hagel Server Operation 3 18th August 2005 23:52

All times are GMT +2. The time now is 12:47.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.