First, I archive the old messages in the INBOX on my list account

 # doveadm -Dv move -u [email protected] Archive mailbox INBOX BEFORE 90d       
                                                                                
                       Debug: Loading modules from directory: 
/usr/local/lib/dovecot/doveadm
Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: 
/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: Undefined symbol 
"acl_user_module" (this is usually intentional, so just ignore this message)
Debug: Skipping module doveadm_expire_plugin, because dlopen() failed: 
/usr/local/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so: Undefined symbol 
"expire_set_lookup" (this is usually intentional, so just ignore this message)
Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: 
/usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so: Undefined symbol 
"quota_user_module" (this is usually intentional, so just ignore this message)
Debug: Module loaded: 
/usr/local/lib/dovecot/doveadm/lib10_doveadm_sieve_plugin.so
Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: 
/usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so: Undefined symbol 
"fts_filter_filter" (this is usually intentional, so just ignore this message)
Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: 
/usr/local/lib/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so: Undefined 
symbol "mail_crypt_user_get_public_key" (this is usually intentional, so just 
ignore this message)
doveadm([email protected])<64937><>: Debug: auth USER input: [email protected] 
uid=89 gid=89 
mail_location=maildir:/usr/local/virtual/[email protected]/Maildir 
mail=maildir:/usr/local/virtual/[email protected]/Maildir 
home=/usr/local/virtual/[email protected]/
doveadm([email protected])<64937><>: Debug: Added userdb setting: 
mail=maildir:/usr/local/virtual/[email protected]/Maildir
doveadm([email protected])<64937><>: Debug: Added userdb setting: 
mail_location=maildir:/usr/local/virtual/[email protected]/Maildir
doveadm([email protected]): Debug: Effective uid=89, gid=89, 
home=/usr/local/virtual/[email protected]/
doveadm([email protected]): Debug: Namespace inbox: type=private, prefix=, 
sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes 
location=maildir:/usr/local/virtual/[email protected]/Maildir
doveadm([email protected]): Debug: maildir++: 
root=/usr/local/virtual/[email protected]/Maildir, index=, indexpvt=, control=, 
inbox=/usr/local/virtual/[email protected]/Maildir, alt=
doveadm([email protected]): Debug: Mailbox Archive: Mailbox opened because: move
doveadm([email protected]): Debug: Mailbox INBOX: Mailbox opened because: move

OK. that went well, how about all users now?

 # doveadm -Dv move -A Archive mailbox INBOX BEFORE 90d                         
                                                                                
                       Debug: Loading modules from directory: 
/usr/local/lib/dovecot/doveadm
Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: 
/usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: Undefined symbol 
"acl_user_module" (this is usually intentional, so just ignore this message)
Debug: Skipping module doveadm_expire_plugin, because dlopen() failed: 
/usr/local/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so: Undefined symbol 
"expire_set_lookup" (this is usually intentional, so just ignore this message)
Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: 
/usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so: Undefined symbol 
"quota_user_module" (this is usually intentional, so just ignore this message)
Debug: Module loaded: 
/usr/local/lib/dovecot/doveadm/lib10_doveadm_sieve_plugin.so
Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: 
/usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so: Undefined symbol 
"fts_filter_filter" (this is usually intentional, so just ignore this message)
Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: 
/usr/local/lib/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so: Undefined 
symbol "mail_crypt_user_get_public_key" (this is usually intentional, so just 
ignore this message)
Error: User listing returned failure

doveadm: Error: Failed to iterate through some users

Ok, so I try the following:

 # cd /usr/local/virtual && for i in *; do doveadm move -u $i  Archive mailbox 
INBOX BEFORE 90d; done 

And that works fine.

Everything is the same up until the Error but since nothing else is logged, 
where do I go from here?

-- 
There are strange things done in the midnight sun/By the men who moil
for gold; The Arctic trails have their secret tales/That would make your
blood run cold; The Northern Lights have seen queer sights,/But the
queerest they ever did see Was the night on the marge of Lake Lebarge/
When I cremated Sam McGee

Reply via email to