• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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