Change Plesk back to short mail names

If you have to use short e-mail usernames in Plesk (which is a bad idea), and someone accidentally sets the server to use full usernames, you can force Plesk to go back. You can't do this in the interface, however. Plesk realizes that duplicate mail names exist, and it wont allow the change.

Plesk will say something like:

Unable to allow the use of short mail names for POP3/IMAP accounts. There are mail names matching the encrypted passwords.

Forcing it back is easy with one SQL statement:

# mysql -u admin -p`cat /etc/psa/.psa.shadow` psa
mysql> UPDATE misc set val='enabled' where param='allow_short_pop3_names';

Keep in mind that users logging in with shortnames will get into the same mailbox if they have the same username and password.

Additional reading:
How can I change back the option "Use of short and full POP3/IMAP mail account names is allowed" forcedly?

Printed from: http://rackerhacker.com/2007/08/20/change-plesk-back-to-short-mail-names/ .
© Major Hayden 2012.

Leave a Reply

 

  • Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you find the information useful. If you spot something that's incorrect or confusing, please write a comment and let me know. Drop me a line if there's something you want to know more about and I'll do my best to write a post on the topic.
    -- Major Hayden

    Flattr this