Hi I need get all mailbox addresses and forward entry for one client. ISPConfig show only part of address so I cant copy. Maybe some sql query. Thanks for any help Dariusz
Where do you see only part of an address? SQL query might show the information you want, but you have to specify exactly what is searched for and how is it displayed.
select email from mail_user; select source,destination,type from mail_forwarding; will get you all mail users and mail forwards and catchalls. you can filter it with where sys_groupid = '<id of client group>', but this assumes the mailbox/mailforward was created when logged in as that client, it may have the admin's id numbers instead.
Thanks , I change with table in gui by web tools and copy table to calc I have a question, can I get all emails account of client by ISPConfig API?
Sure, you can query by any column of the tables using the ISPConfig remote API. Example: Code: $sys_groupid = 1; $app = $client->mail_user_get($session_id, array('sys_groupid' => $sys_groupid));