• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question list of all emailadresses from terminal?

viisauksena

New Pleskian
is there a way to get a list of all email and email-aliases (forwarding - adresses) via terminal ?
and is there a way to email to this emails from email with a terminal command?

want to write a script which autocreate ejabber (xmpp) clients for every existing email (including the aliases)
 
is there a way to get a list of all email and email-aliases (forwarding - adresses) via terminal ?
and is there a way to email to this emails from email with a terminal command?

want to write a script which autocreate ejabber (xmpp) clients for every existing email (including the aliases)

If I am not mistaken, you are trying to link instant messaging to email. Is that correct?

If so, be aware of the fact(s) that XMPP and SMTP do not mix perfectly and that the Mbox mail structure (QMail/Postfix) is not suited at all.

It is actually not recommend at all to combine mail and XMPP.

It is better to use some existing solution, entirely designed around the XMPP protocol.

Can you explain (in detail) what you want to achieve with XMPP and mail?

Regards....
 
is there a way to get a list of all email and email-aliases (forwarding - adresses) via terminal ?
# plesk db
mysql> 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;
 
@trialotto i see no problem in making ejabberd accounts according to output from plesk bin mail --list
and that is/was indeed what i wanted to accomplish. Quite rudimentary but it worked - for me there is no need for advanced interoperationality between mail and xmpp/jabber - i just need the accounts set up
 
Back
Top