Howto show email accounts and passwords in Plesk

Sunday, October 4th, 2009

Login to mysql and :

use psa;
SELECT accounts.id, mail.mail_name, accounts.password, domains.name FROM domains LEFT JOIN mail ON domains.id = mail.dom_id LEFT JOIN accounts ON mail.account_id = accounts.id

It should print all emails that are created and their passwords.

Sending image emails with mutt from command line

Friday, July 10th, 2009

ls | perl -ne ‘$a=$_;chomp $a;$b=”mutt -s \”poza $a\” -a $a <email> < message.txt\n”;print $b;`$b`’