RE: [vchkpw] Clear mailbox

2004-03-17 Thread Shane Chrisp
Hello,

In the process to install a new qmail/vpopmail server, I have a problem
with some mail that arrives before any spam filter is installed. There
is a lot of mailboxes and in each I can see some mail. I check some of
them : it's only spam.

# l /var/lib/vpopmail/domains/domain/user/Maildir/new/
1079125101.15754.domain,S=339
1079377059.25707.domain,S=338
1079445378.1694.domain,S=861
1079445647.2649.domain,S=881
1079457438.27107.domain,S=1963

I'm looking for a way to erase these mails before I give my 
users access
to this server.

I can telnet on localhost:110 and use dele for each account but it will
be a long task, boring. Is there another way ?
Can I remove the files with 'rm' without problem ?

Thanks for your help (and sorry for my poor english),

You can just rm the files from the Maildir. Once they have reached the
users Maildir, qmail is finished with them.

Shane 



RE: [vchkpw] Clear mailbox

2004-03-17 Thread Patrick Paysant
 You can just rm the files from the Maildir. Once they have reached the
 users Maildir, qmail is finished with them.

Is there no problem with the Maildir/maildirsize file ?

-- 
Patrick


RE: [vchkpw] Clear mailbox

2004-03-17 Thread Shane Chrisp
Delete the maildir file as well and it will be recreated.

Shane 

-Original Message-
From: Patrick Paysant [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 17 March 2004 8:49 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] Clear mailbox

 You can just rm the files from the Maildir. Once they have 
reached the
 users Maildir, qmail is finished with them.

Is there no problem with the Maildir/maildirsize file ?

-- 
Patrick




RE: [vchkpw] Clear mailbox

2004-03-17 Thread Patrick Paysant
 
 Delete the maildir file as well and it will be recreated.
 

Ok, many thanks

-- 
Patrick