[Dovecot] some mdbox mails get lost each day

Christian Rößner c at roessner-network-solutions.com
Thu Aug 16 14:13:00 EEST 2012


Am 16.08.2012 um 10:20 schrieb Timo Sirainen:

> On 16.8.2012, at 11.15, Christian Rößner wrote:
> 
>>>>>>> doveadm import mdbox:~/mdbox-backup all-mails all
>>>>>> 
>>>>>> problem
>>>>>> 
>>>>>> I tried so, but this does not work here:
>>>>> 
>>>>> I thought I'd make things easier by skipping the index rebuild, because I thought doveadm import does it automatically, but I guess it doesn't notice the problem:
>>>>> 
>>>>> doveadm -o mail=mdbox:~/mdbox-backup force-resync INBOX
>>>>> 
>>>> done
>>>> 
>>>> And this created several folders under mailboxes again, but still the import command does not import anything. What am I missing here?
>>>> 
>>> I tested today with Dovecot 2.1.9. Still not getting mails imported :-(
>>> 
>>> How can I see, if the force-resync stuff was successful? Is there any doveadm dump -t index/log variable name that tells me, there do exist XYZ number of mails in the backup mail folder?
>>> 
>>> Many thanks in advance
>> 
>> 
>> sorry for bumping, but I am stuck at the moment.
> 
> 1) Can you read mails from the resynced mdbox? For example:
> 
> doveadm -o mail=mdbox:/anothermdbox fetch uid all
> 
doveadm -o mail=mdbox:/srv/mail/foo.bar at example.com-backup fetch uid all | grep uid | wc -l
949

There seem to be mails. At least I get several lines with uid: <number>

> 2) Is the problem just the doveadm import? Can you import anything to anything at all? What does it say with -v parameter?


It seems, it is just the import thing.

doveadm -Dv import -u foo.bar at example.com mdbox:/srv/mail/foo.bar at example.com-backup all-mails ALL
doveadm(root): Debug: Loading modules from directory: /usr/lib/dovecot/modules
doveadm(root): Debug: Module loaded: /usr/lib/dovecot/modules/lib15_notify_plugin.so
doveadm(root): Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mail_log_plugin.so
doveadm(root): Debug: Loading modules from directory: /usr/lib/dovecot/modules/doveadm
doveadm(root): Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so: undefined symbol: acl_user_module (this is usually intentional, so just ignore this message)
doveadm(root): Debug: Skipping module doveadm_expire_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_expire_plugin.so: undefined symbol: expire_set_lookup (this is usually intentional, so just ignore this message)
doveadm(root): Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so: undefined symbol: quota_user_module (this is usually intentional, so just ignore this message)
doveadm(root): Debug: Skipping module doveadm_zlib_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_zlib_plugin.so: undefined symbol: i_stream_create_deflate (this is usually intentional, so just ignore this message)
doveadm(root): Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_list_backend (this is usually intentional, so just ignore this message)
doveadm(root): Debug: Effective uid=0, gid=0, home=/root
doveadm(root): Debug: fs: root=/srv/mail/foo.bar at example.com-backup, index=, control=, inbox=, alt=
doveadm(root): Debug: Namespace : Using permissions from /srv/mail/foo.bar at example.com-backup: mode=0700 gid=-1
doveadm(foo.bar at example.com): Debug: Effective uid=5000, gid=5000, home=/srv/mail/foo.bar at example.com
doveadm(foo.bar at example.com): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mdbox:/srv/mail/foo.bar at example.com
doveadm(foo.bar at example.com): Debug: fs: root=/srv/mail/foo.bar at example.com, index=, control=, inbox=, alt=
doveadm(foo.bar at example.com): Debug: Namespace : Using permissions from /srv/mail/foo.bar at example.com: mode=0700 gid=-1

Thanks in advance

-Christian Rößner

---
Bachelor of Science Informatik
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F: +49 6631 78823409, M: +49 176 93118939
USt-IdNr.: DE225643613, http://www.roessner-network-solutions.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3880 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20120816/53903331/attachment-0004.bin>


More information about the dovecot mailing list