manipulate files in /var/spool/imap/

James Pattie james at pcxperience.com
Fri Nov 14 15:27:18 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rajesh Saxena wrote:
| Rob Siemborski wrote:
|
|> If you do delete the files directly, you will need to reconstruct the
|> mailbox afterwords (and will still have a race condition).
|>
|> It'd be MUCH better to do all the access through IMAP, like you're
|> supposed to ;)
|
|
| Thank you both Rob and James for offering suggestions. I will write
| the script to do imap. I tried the reconstruct method just for curiosity
| and I have a quick question. Lets say there is a folder like this:
|
| /var/spool/imap/user/firstuser/Spam/
| 1. 2. 3. cyrus.cache cyrus.header cyrus.index
|
| If I delete messages 1. 2. and 3. then run
| $ rm 1. 2. 3. && reconstruct -r user.firstuser.Spam
|
| Are the next emails which get stored in that directory supposed to be
| 1. 2. 3. or will they be named 4. 5. 6. onwards?
|
|

I've always seen it do the 1., etc., but I'm not a cyrus internal expert. :)


- --
James A. Pattie
james at pcxperience.com

Linux  --  SysAdmin / Programmer
Xperience, Inc.
http://www.pcxperience.com/
http://www.xperienceinc.com/

GPG Key Available at http://www.pcxperience.com/gpgkeys/james.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/tTowtUXjwPIRLVERAu1GAJ9oXtc5FbLz6A90nJlx654/mKfejQCfQC6S
f/0F+kaTuIwTVl24mk9QBy0=
=gePr
-----END PGP SIGNATURE-----


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.





More information about the Info-cyrus mailing list