• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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