[Dovecot] Restoring Mails from Backup Archive
Hi List,
i am trying to restore mails from an backup-archive which was made with rsnapshot.
All the mails in the archive look similar like the following:
-rw------- 2 1014 1015 3308 8. Aug 13:42 1312803768.V809I266a00aM505178.server:2,ST
Now I copy the files from the archive into the Maildir/cur directory of the user.
Then I set the permissions etc. and log in with the user account via Squirrelmail.
The restored mails aren't in the INBOX, and when I go into the Maildir/cur dir of the user, the restored mails are gone. Possibly deleted after the login.
Had anyone some similar experiences ?
Any hints ?
Kind regards
Andreas
Andreas Cieslak wrote, On 11/13/11 9:48 AM:
Hi List,
i am trying to restore mails from an backup-archive which was made with rsnapshot.
All the mails in the archive look similar like the following:
-rw------- 2 1014 1015 3308 8. Aug 13:42 1312803768.V809I266a00aM505178.server:2,ST
The portion of the filename after the ':' is a message status structure. In that structure, the letter 'T' means that the message has been marked for deletion by the user. As a result, most IMAP clients will not show the message to the user and an "EXPUNGE" command on the mailbox will delete the message.
Thanks for that information bill. The T was the point which was important for me, because the user didn't tell me that the messages were already marked for deletion. - Anyway, in outlook the mails were visible (marked for deletion).
-----Ursprüngliche Nachricht----- Von: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org] Im Auftrag von Bill Cole Gesendet: Sonntag, 13. November 2011 23:27 An: Dovecot Mailing List Betreff: Re: [Dovecot] Restoring Mails from Backup Archive
Andreas Cieslak wrote, On 11/13/11 9:48 AM:
Hi List,
i am trying to restore mails from an backup-archive which was made with
rsnapshot.
All the mails in the archive look similar like the following:
-rw------- 2 1014 1015 3308 8. Aug 13:42
1312803768.V809I266a00aM505178.server:2,ST
The portion of the filename after the ':' is a message status structure. In
that structure, the letter 'T' means that the message has been marked for
deletion by the user. As a result, most IMAP clients will not show the
message to the user and an "EXPUNGE" command on the mailbox will delete the
message.
Thanks for that information bill. The T was the point which was important for me, because the user didn't tell me that the messages were already marked for deletion. - Anyway, in outlook the mails were visible (marked for deletion).
-----Ursprüngliche Nachricht----- Von: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org] Im Auftrag von Bill Cole Gesendet: Sonntag, 13. November 2011 23:27 An: Dovecot Mailing List Betreff: Re: [Dovecot] Restoring Mails from Backup Archive
Andreas Cieslak wrote, On 11/13/11 9:48 AM:
Hi List,
i am trying to restore mails from an backup-archive which was made with rsnapshot.
All the mails in the archive look similar like the following:
-rw------- 2 1014 1015 3308 8. Aug 13:42 1312803768.V809I266a00aM505178.server:2,ST
The portion of the filename after the ':' is a message status structure. In that structure, the letter 'T' means that the message has been marked for deletion by the user. As a result, most IMAP clients will not show the message to the user and an "EXPUNGE" command on the mailbox will delete the message.
participants (2)
-
Andreas Cieslak
-
Bill Cole