Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Webuzo & Squirrelmail



Normal Mode | Print  

Webuzo & Squirrelmail
nikhil89
Group: Softaculous Team
Post Group: Elite Member
Posts: 467
Status:
Hi,

There is no such command to delete all the emails via command line. But for your information all the emails are saved in:
For all read emails:
Quote
/var/local/vmail/{DOMAIN_NAME}/{USERNAME}/Maildir/cur/


So you can use the following command to delete emails for a email ID using folllowing command:
Code
rm -rf /var/local/vmail/{DOMAIN_NAME}/{USERNAME}/Maildir/cur/*




For Eg: Say your email id is admin@admin.com than your email directory shall be:
Quote
/var/local/vmail/admin.com/admin/Maildir/cur/


and to delete all the emails for the above user you can use the following command:
Code
rm -rf /var/local/vmail/{DOMAIN_NAME}/{USERNAME}/Maildir/cur/*


Edited by nikhil89 : August 8, 2017, 11:27 am
IP: --   


Threads
 who8mypnuts   Webuzo & Squirrelmail, Inbox Not Loading (3 Replies, Read 79689 times)
    |--  nikhil89   Hi, There is...   on August 8, 2017, 11:27 am
    |--  who8mypnuts   Hi, There is...   on August 8, 2017, 11:50 am
    |--  nikhil89   Hi, Thank you...   on August 9, 2017, 7:14 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 2, 2025, 1:22 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:1.584