Anand Buddhdev said:
> On Fri, Jul 02, 2004 at 09:22:30PM +0100, Neil Moore wrote:
>
>> I am considering writing some scripts to move all messages from one
>> folder to another, and to empty folders in maildirs, both using the
>> the filesystem (eg. rm and mv commands).
>>
>> When I began to investigate this I see that there are more files in
>> directories than there are emails (at least in the inbox). I think
>> that the "S" suffix means that the emails are read and current, but I'm
>> interested to find out what the "ST", "RST", etc. suffixes mean.
>
> http://cr.yp.to/proto/maildir.html
>
>> Could anyone explain this, and tell me if i can empty a mailbox by
>> simply removing all the files, and move the contents of a mailbox by
>> moving all the files?
>
> Yes.

Just to be on the safe side you may need to copy the files from the one
Maildir's cur folder to the other's new directory.  Courier will take care
of moving the mail from new to cur when it's ready.  So something like:

mv /home/user/Maildir/.New Stuff/cur/* /home/users/Maildir/.Old Stuff/new/

Jay
-- 
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
--
I propose we leave math to the machines and go play outside. --Calvin



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to