mail services
To Change from Qmail to Postfix
/usr/local/psa/admin/sbin/autoinstaller –select-release-current –install-component postfix
Send a Test Email From The Server
php -a
Interactive shell
php > mail (‘tumshi@gmail.com’, “Test From VPS”, “Quick Test”);
php > exit
View the email users and Passwords
mysql -uadmin -p` cat /etc/psa/.psa.shadow` -Dpsa -e”SELECT mail_name,name,password from mail LEFT JOIN domains on mail.dom_id = domains.id INNER JOIN accounts where mail.account_id = accounts.id;”
To install a Mail Server on Plesk
/usr/local/psa/admin/bin/autoinstaller – Install webmail on Plesk
Postfix
/usr/local/psa/admin/sbin/autoinstaller –select-release-current –install-component postfix
Qmail
/usr/local/psa/admin/sbin/autoinstaller –select-release-current –install-component qmail