• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Searching 30000+ Inbox

S

sumarto

Guest
Hi i need to delete some emails from an Inbox containing 30000+ emails.
Normal search from webmail doesnt work.
Can someone guide me?
Thankss..
 
Go to the current Maildir of this mailbox.

Look user/groups for path new and delete.
Mkdir new, chown user:groups and its good.

Exemple :
Sorry for déc, bad charset.

logs@free-h.org = 54K mails.

Code:
[root@free-h gus]# cd /var/qmail/
[root@free-h qmail]# cd mailnames/free-h.org
[root@free-h free-h.org]# cd logs
[root@free-h logs]# ls
@attachments  Maildir
[root@free-h logs]# pwd
/var/qmail/mailnames/free-h.org/logs
[root@free-h logs]# ls -l
total 8
drwx------ 2 popuser popuser 4096 sep  6 00:35 @attachments
drwx------ 5 popuser popuser 4096 sep  5 21:50 Maildir
[root@free-h logs]# cd Maildir/
[root@free-h Maildir]# ls -l
total 6504
drwx------ 2 popuser popuser    4096 aoû 15 15:12 cur
-rw------- 1 popuser popuser    1535 déc  8 05:24 maildirsize
drwxr-xr-x 2 popuser popuser 6635520 déc  8 05:24 new
drwx------ 2 popuser popuser    4096 déc  8 05:24 tmp
[root@free-h Maildir]# cd new
[root@free-h new]# cd ..
[root@free-h Maildir]# ls -lh
total 6,4M
drwx------ 2 popuser popuser 4,0K aoû 15 15:12 cur
-rw------- 1 popuser popuser 1,5K déc  8 05:24 maildirsize
drwxr-xr-x 2 popuser popuser 6,4M déc  8 05:24 new
drwx------ 2 popuser popuser 4,0K déc  8 05:24 tmp
[root@free-h Maildir]# rm -rf new
[root@free-h Maildir]# mkdir new
[root@free-h Maildir]# chown popuser:popuser new/
[root@free-h Maildir]# ls -l
total 16
drwx------ 2 popuser popuser 4096 aoû 15 15:12 cur
-rw------- 1 popuser popuser 1535 déc  8 05:24 maildirsize
drwxr-xr-x 2 popuser popuser 4096 déc  9 01:08 new
drwx------ 2 popuser popuser 4096 déc  8 05:24 tmp
[root@free-h Maildir]#
 
Hi Loup Artic,
Thanks for the assitance, but i do not want to delete the entire mailbox as there could be important emails inside.
What i need is to remove some emails (spams,adv,etc) by doing manual search and delete, however i can not do it via webmail (horde) due to huge numbers of emails.
Any script that may help?
Appreciate any comments.

:)
 
Back
Top