Submitted by swat2 on Thu, 02/16/2012 - 17:56
Hi Guys,
Backing up Dovecot control files ..
.. backup failed : tar: info-<domain>: Cannot stat: No such file or directory
tar: res-: Cannot stat: No such file or directory tar: payment-: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors
during my scheduled backup. Fresh install - why is this happening, how can i fix it.
its not doing it on all my sites, just a couple, some just say "none found".
Status:
Closed (fixed)
Comments
Submitted by swat2 on Thu, 02/16/2012 - 17:57 Comment #1
and you need to fix your support request system because somehow it just chopped off half of my post. doesnt like or something?!
Submitted by swat2 on Thu, 02/16/2012 - 17:58 Comment #2
"\<domain>"
Submitted by swat2 on Thu, 02/16/2012 - 17:59 Comment #3
cant put things like "DOMAIN" in "<" or ">"
sigh
Submitted by JamieCameron on Thu, 02/16/2012 - 18:00 Comment #4
If you go to Webmin -> Servers -> Dovecot -> Mail Files, what are the "Index files location" and "Control files location" set to?
Submitted by swat2 on Thu, 02/16/2012 - 18:29 Comment #5
/var/lib/dovecot-virtualmin/index/%u
root@cartman:/var/lib/dovecot-virtualmin# ls -lah total 16K drwxr-xr-x 4 root root 4.0K Feb 5 23:04 . drwxr-xr-x 50 root root 4.0K Feb 15 11:41 .. drwxrwxrwx 87 root root 4.0K Feb 13 19:49 control drwxrwxrwx 87 root root 4.0K Feb 13 19:49 index
Lots of files in index folder.
Submitted by JamieCameron on Thu, 02/16/2012 - 23:33 Comment #6
Do your users have username@domain format IMAP logins?
Submitted by swat2 on Thu, 02/16/2012 - 23:36 Comment #7
yes
Submitted by JamieCameron on Fri, 02/17/2012 - 01:00 Comment #8
Ok, I think I see the issue here - the fix is to edit the file
/usr/share/webmin/virtual-server/feature-mail.pl
and delete line 2991, which reads :push(@names, &replace_atsign($u->{'user'}));
then run
/etc/webmin/restart
Let us know if that helps ..
Submitted by nikkio on Sat, 02/18/2012 - 06:18 Comment #9
It work for me!
Thank you!
Submitted by JamieCameron on Sat, 02/18/2012 - 11:44 Comment #10
Cool - this fix will be in the next Virtualmin release.
Submitted by Issues on Sat, 03/03/2012 - 11:46 Comment #11
Automatically closed -- issue fixed for 2 weeks with no activity.