Andrew McCall <[EMAIL PROTECTED]> wrote:
>
> Occasionally I need to delete large e-mails from users accounts for
> one reason or another. I have been deleting the mail from
> <username>/Maildir/cur/ or new/ and editing the file
> <username>/Maildir/maildirsize to reflect the change. This seems to
> work, however I have a feeling that I am doing something very wrong!
> Can someone let me know if this is the correct way of manually
> deleting mail, or point out some document that can help me.
It's correct as far as deleting files in cur and new. "maildirsize"
isn't required or created by qmail or qmail-pop3d; are you using a
different POP3 daemon, or possibly an IMAP daemon? I can't comment on
the safety of editing that file.
> Can someone also tell me the difference between the users cur/ and new/
> directory please? I *think* that new is for new e-mails that the user
> hasn't downloaded at all, and cur/ is for e-mail that they have
> downloaded, but haven't deleted from the server yet - but this doesn't
> always seems right for some users.
qmail-pop3d will move all messages from new/ to cur/ when it exits. cur
is supposed to be for messages the user has seen (not necessarily read),
and this should be accurate if the user does a POP login and LIST
command.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------