Re: [courier-users] How to empty e-mail accounts

This is a discussion on Re: [courier-users] How to empty e-mail accounts within the Courier-Imap forums, part of the Mail Servers and Related category; Leonidas Safran a =E9crit : > Hello, > > I've been reading through documentation pages... > http://www.courier-mta....


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-21-2007
Jérôme Blion
 
Posts: n/a
Default Re: [courier-users] How to empty e-mail accounts

Leonidas Safran a =E9crit :
> Hello,
>
> I've been reading through documentation pages...
> http://www.courier-mta.org/documentation.html
>
> but I didn't find what I am looking for... :-(
>
> I even think it might not be a courier specific command, but more an IMAP=

standard.. whatever... how do I "delete" all e-mails of an e-mail account,=
on system side (not with an e-mail client)? I don't want to delete the acc=
ount, only all e-mails.
>
>
> Thanks for helping ;-)
>
> LS
> =


Look at the maildir structure...
find $MAILDIR -type f !-name ".*" | xargs rm
That should give good results...

Just test ;)
HTH.
Jerome blion.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:39 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0