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

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

Hi,

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:
/var/vmail/domain.tld/username/cur

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!
Kira
Reply With Quote
Sponsored Links
  #2  
Old 2nd January 2013, 09:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,596 Times in 4,407 Posts
 
Default

Hi,

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
Reply

Bookmarks

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 12:45
MySQL Error Nolan Installation/Configuration 12 16th February 2011 03:15
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 07:13.


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