PDA

View Full Version : How to get aliases information from an email account?


manel
11-17-2009, 12:54 PM
In another message (http://forum.ispsystem.com/en/showthread.php?t=814), you says that:

> In the query you don't specify the mailbox aliases. If you add them in your query they won't be removed. You can do that with the two queries:
> 1) The first query receives the mailbox information(aliases, etc.).
> 2) The second query uses the received information and changes SPAMASSASSIN and GREYLIST flags.

How we can do to 1) The first query receives the mailbox information(aliases, etc.). ???

If we use the email function (http://127.0.0.1/manager/ispmgr?out=xml&func=email), we get this:

Function: email

Result: the list of elements
name - Name.
pop3 - POP3 login.
disabled - Mailbox is disabled.
note - Note:.
size - Size. Attributes :
used - The used number.
limit - Max value limitation

How we can get the aliases?

Thank you!

slava
11-17-2009, 10:16 PM
How we can get the aliases?

https://127.0.0.1/manager/ispmgr?out=xml&func=email.edit&elid=user@example.com

manel
11-19-2009, 06:25 PM
It works! Thank you!