Quick Plesk command line hints
Enable spamassassin on all accounts on server mysql –uadmin –p`cat /etc/psa/.psa.shadow` psa –Ns –e “SELECT CONCAT_WS(‘@’,mail.mail_name,domains.name)FROM domains,mail,accounts WHERE domains.id=mail.dom_id AND accounts.id=mail.account_id” | xargs –I {} ./spamassassin –u {} –status true –hits 7 –action move Setup a new customer via command line /usr/local/psa/bin/./customer —create username –name ‘name’ –passwd ‘password’ –country US –phone 123456 –email hosting@domain.com Setup … Continue reading Quick Plesk command line hints