• 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.

Question Mailboxes queries

Manuel

New Pleskian
Hi ,
how can i get the complete list of mail recipient address in plesk 10.4 ?

With this 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", I get a different number of recipients compared with the Plesk Panel (Home > Tools & Settings; Domains section).

I need a complete list with the four types of mailboxes (mailbox, mail groups, aliases and mailing list).

Thank you
Regards
Manuel
 
Try something like

select mail_name,name,postbox,redirect,mail_group,autoresponder from mail left join domains on mail.dom_id = domains.id inner join accounts where mail.account_id = accounts.id order by name asc, mail_name asc;
 
Thank you Igor for your answer, but I'm still have doubts about the number of records in this query and the summary report in plesk panel, i mean:

The query show me 2,360 records (equal to records in table named "mail"), but the plesk panel show me 2,282 records or mailboxes (i've attached an image). In addition, there is a table named "mail_aliases" that contains 152 records more, and that are not included in the query result.

Any suggestions about this difference ?

Manuel

Captura de pantalla 2016-12-13 a las 11.54.19.png

Try something like

select mail_name,name,postbox,redirect,mail_group,autoresponder from mail left join domains on mail.dom_id = domains.id inner join accounts where mail.account_id = accounts.id order by name asc, mail_name asc;
 
Back
Top