/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
echo "SELECT CONCAT_WS('@',mail.mail_name,domains.name),accounts.password FROM domains,mail,accounts WHERE domains.id=mail.dom_id AND accounts.id=mail.account_id ORDER BY domains.name ASC,mail.mail_name ASC;" | mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -t