• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Delete unused mailboxes

B

BenjS

Guest
Hello everybody

Is there any possibility to check if some mailboxes wheren't used since N days? To prevent all of this zombie mailboxes, I want to check the logins and if a mailbox doesn't have any login in the last e.g. 180 days, I want remove it or simliar.

Any ideas?

Cheers,
Benjamin
 
Not sure that it is possible somehow to find data of mailboxes which are not used since N days. There isn't such info in database, for example.
You can find all mailboxes with following SQL query:

select concat(mail.mail_name,"@",domains.name) as address from mail,domains,accounts where mail.dom_id=domains.id and mail.account_id=accounts.id order by address;
 
Back
Top