On Wed, Jul 16, 2003 at 01:16:57PM +0500, [EMAIL PROTECTED] wrote: > Hi, > > Can anyone help me in this regard. I am using qmail-ldap and store mails > in maildir format. Ho do the people on the list make backups of maildirs and > how are those restored.??
tar cf backup.tar Maildir and tar xpvf backup.tar works without a problem. Every file that you put in Maildir/cur will be downloadabel by qmail-pop3d no matter what the name of the file is (unless starting with a .). > when i move a mail from one folder to another , or from one maildir to > another manually, then that mail becomes unreadable for client. What is the > procedure for restoring a maildir, or a folder from inside a maildir.? > Check the permissions of the file and the directories. qmail and qmail-pop3d use readdir(3) to get the listing of all files. courier-imap does the probably the same but I don't verified that. Check the Maildir Structure to be correct. Imap subfolders need a "maildirfolder" file to be touched else the folder may be ignored (never tested). See also http://www.qmail.org/man/man5/maildir.html and http://www.inter7.com/courierimap/README.maildirquota.html -- :wq Claudio
