rsync sdbox, no new mails?
Hello, I had to restore a mailserver from a backup to replace a system with problems that is still live. I did a 1:1 restore as far as possible from a backup, then rsynced the /var/vmail/ directory, where we have all the mailboxes, in sdbox format. So both directories should be the same. After syncing, I started dovecot. I can see the mails until to the point of the backup, but not the newer ones ,although they seem to be present in the "cur" directory. I thought with sdbox it is all in the index files that have been transferred with the mails? Or am I missing a place that has to be synced?
Thank you for hints, Jakob
Forget it,
a) it was maildir (set via a SQL config that overrides the setting in 10-mail.conf) b) the client did not display the new messages. All fine.
JC
On Mon, Apr 15, 2019 at 14:45:31 +0200, Jakob Curdes via dovecot wrote:
Hello, I had to restore a mailserver from a backup to replace a system with problems that is still live. I did a 1:1 restore as far as possible from a backup, then rsynced the /var/vmail/ directory, where we have all the mailboxes, in sdbox format. So both directories should be the same. After syncing, I started dovecot. I can see the mails until to the point of the backup, but not the newer ones ,although they seem to be present in the "cur" directory.
"cur" is used by maildir. sdbox does not have a "cur" dir.
Jeff.
I thought with sdbox it is all in the index files that have been transferred with the mails? Or am I missing a place that has to be synced?
Thank you for hints, Jakob
-- Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. - Brian W. Kernighan
participants (2)
-
Jakob Curdes
-
Josef 'Jeff' Sipek