rsync sdbox, no new mails?

Josef 'Jeff' Sipek jeff.sipek at open-xchange.com
Mon Apr 15 17:33:08 EEST 2019


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 


More information about the dovecot mailing list