[Dovecot] dsync with quotas

Micah Anderson micah at riseup.net
Thu Oct 6 20:22:29 EEST 2011


Micah Anderson <micah at riseup.net> writes:

> I have been working on converting people from courier maildir -> dovecot
> mdbox and during some of the dsync runs I'm seeing the
> quota_exceeded_message be printed as an Error:
>
> dsync(<user>): Error: Can't save message to mailbox INBOX: You are over quota. To avoid losing mail, immediately empty your Trash and Sent folders and \
> delete emails with large attachments. 
> dsync(<user>): Info: INBOX: Couldn't keep all uids^M
>
> Its possible the user was over quota on the originating courier side,
> but I would still like to migrate their mail proprely to mdbox, but it
> seems like being over quota is inhibiting that. Are the quota
> calculations including both the maildir files as well as the converted
> mdbox files, resulting in a double counting? 
>
> I'm not entirely sure if the messages above indicate that the migration
> failed for that user or not, so I've been manually increasing their
> quota, then redoing the dsync mirror until it works properly.
>
> I wonder if it would be better if I turned off quota entirely during
> migration so I don't run into this problem?

Sorry to 'bump' this subject, but I'm still confused about this issue
and nobody replied, perhaps nobody has any ideas? :)

micah



More information about the dovecot mailing list