Hi,
Below is the MySQL query to retrieve the mail account details from the psa database. Just put the domain you want between the quotes at the end. Let us know if the server is windows or linux if you need more help.
SELECT mail.id, mail.mail_name, domains.name, accounts.password, mail.postbox,
mail.mbox_quota, mail.redirect, mail.redir_addr, mail_group, mail.autoresponder
FROM mail, accounts, domains WHERE mail.account_id = accounts.id
AND mail.dom_id = domains.id AND domains.name = '';
Cheers,
Andrew