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, 22:56
Kira Kira is offline
Join Date: Jun 2011
Posts: 41
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, 09:11
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,988
Thanks: 840
Thanked 5,647 Times in 4,457 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
MySQL Error Nolan Installation/Configuration 13 27th November 2014 06:04
Major recovery Toucan Installation/Configuration 18 9th August 2011 12:45
Anyway to fix the courier imap quota integer overflow? CarbonCopy Server Operation 4 9th August 2009 14:37
Courier IMAP / POP3 error when re-creating ssl certificate Debian2009 Server Operation 4 24th April 2009 03:47
Courier IMAP - when does it delete deleted messages?? hagel Server Operation 3 19th August 2005 00:52

All times are GMT +2. The time now is 09:52.

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