I don’t seem to be able to find and answer to this question either with Axigen’s documentation nor with Googling. I need to export the mailing lists I have set up in Axigen preferably in a text document form such as CSV or XML. Can someone give me a pointer to a document or explain how to accomplish this on a Linux system? Is the data for a mail list already stored somewhere in a text form? Thanks in advance, Marc C.
Hello Marc,
Usually, when you could not do something from WebAdmin interface you should switch to CLI interface.
Using the run-cli.py CLI helper tool (you may download it from the Automation Tools section) you may obtain the list members details using a command like:
run-cli.py 'update domain domain.tld|update list your.list|list users'
...
The list of Users for this mail list:
email | name
----------------
m1@test | m1
m2@test | m2
m3@test | m3
+OK: command successful
<domain-list#>
:list users command successful (0:00:00.000580) <domain-list#> 3 objects
HTH,
Ioan
Thanks Indreias, that worked and I can take that output and use a macro editor to re-format it into a CSV file for Excel spreadsheets.
Actually for anyone else who wants to follow in my footsteps and print out a mail list, you will also need to supply the admin password and host name of the Axigen email server on the command line. i.e.
run-cli.py ‘update domain domain.tld|update list your.list |list users’ password hostname
1 Like