danami
Silver Pleskian
TITLE:
Email alias directory is not removed from disk after deletion in Plesk
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Product version: Plesk Onyx 17.8.11 Update #10
Update date: 2018/06/04 06:59
Build date: 2018/05/30 07:57
OS version: CentOS 7.5.1804
Revision: c3fb546fb867ac424d65da14d8b023f11ec0d150
Architecture: 64-bit
Wrapper version: 1.2
PROBLEM DESCRIPTION:Update date: 2018/06/04 06:59
Build date: 2018/05/30 07:57
OS version: CentOS 7.5.1804
Revision: c3fb546fb867ac424d65da14d8b023f11ec0d150
Architecture: 64-bit
Wrapper version: 1.2
When you remove an email addresses alias it is not deleted from the disk. This creates a collision if you try to rename the email account to what the alias was set to.
STEPS TO REPRODUCE:1. Add an alias to an email account. (the alias directory is created in the /var/qmail/mailnames/yourdomain.com/ youralias
2. Remove the alias in Plesk. (The alias directory that was created is not removed from disk).
3. Try renaming the email account to the alias name. You will get an error "mailmgn-core failed:boost::filesystem::rename:: File exists: "
4. After this if you try to go to the email account a PleskUtil 500 fatal exception is shown.
ACTUAL RESULT:2. Remove the alias in Plesk. (The alias directory that was created is not removed from disk).
3. Try renaming the email account to the alias name. You will get an error "mailmgn-core failed:boost::filesystem::rename:: File exists: "
4. After this if you try to go to the email account a PleskUtil 500 fatal exception is shown.
The email alias directory is still on disk in the /var/qmail/mailnames/yourdomain.com/ directory even though it was removed in Plesk.
EXPECTED RESULT:When deleting the alais in Plesk it should remove the alias directory from disk that was created.
ANY ADDITIONAL INFORMATION:I've confirmed that this bug is present in both Plesk 17.8 and 17.5.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:Confirm bug