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....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |