• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved command line create email not working

nethubonline

Regular Pleskian
Hi,

I follow How to create an email account in Plesk to create email via command line, but I can't login the email account.

Environment:
Plesk Obsidian Version 18.0.27 Update #1
Windows 2016 Standard

How to duplicate:
  1. fresh install a Plesk
  2. plesk bin customer --create test.com -name test.com -passwd "abc1234@XYZ"
  3. plesk bin subscription --create test.com -owner test.com -service-plan "Default Domain" -login test -passwd "abc1234@XYZ" -ip 1.2.3.4
  4. plesk bin mail --create [email protected] -passwd "abc1234@XYZ"
  5. Unable to login mewebmail or horde
  6. Open MailEnable MMC, you will see the "Mailbox is disabled"
    1591700291592.png
  7. Even uncheck "Mailbox is disabled", it is not working.
  8. You have to uncheck "Mailbox is disabled" and also assign the Password again, then everything works fine.
 
Hello,
To create the mail name with enabled mailbox the corresponding option has to be specified:
Code:
plesk bin mail --create [email protected] -passwd "abc1234@XYZ" -mailbox true
Thank you for pointing this out! The article would be updated.
 
Last edited:
Back
Top