Submitted by nick108 on Sat, 03/05/2011 - 10:15 Pro Licensee
Is there a way to (programmatically or otherwise) export all contact e-mails of all domains/servers of a Virtualmin installation? I would like to regularly write an HTML newsletter with an external newsletter tool to my hosting clients. I know about the "email server owners" feature, but this is not sufficient for a professional looking newsletter.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Sat, 03/05/2011 - 11:04 Comment #1
The best way to do this would be programatically, using the Virtualmin command-line API.
The following would output all email addresses :
virtualmin list-domains --simple-multiline | grep "Contact email" | awk '{ print $3 }' | sort | uniq
Submitted by nick108 on Wed, 03/09/2011 - 05:26 Pro Licensee Comment #2
Awesome, thanks!
Submitted by Issues on Wed, 03/23/2011 - 08:20 Comment #3
Automatically closed -- issue fixed for 2 weeks with no activity.