• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Forwarded to devs It is possible to create mail box without triggering 'Create Mailname' event handler

burnley

Regular Pleskian
Username:

TITLE

It is possible to create mail box without triggering 'Create Mailname' event handler

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

CentOS Linux 7.9.2009 (Core) Plesk Obsidian
Version 18.0.54 Update #3

PROBLEM DESCRIPTION

We have some functions tied to the Create Mailname event handler in Plesk panel that were not triggering in some situations.

Scenario: Client orders hosting for example.com and account is created with their nominated contact email address say [email protected]. Plesk creates account etc and details are given to client.

Client logs in and goes to the "Users" or "Account" menu on the left. In there they can edit their details. Account -> My Profile. In here under the general tab 2nd line says 'email address' and has a blank box followed by @example.com Client enters 'info' into this box so email address field now reads [email protected] and clicks ok.

Now if you go to the email tab it shows mail box [email protected] exists/enabled (which is fine). However if we look in the action logs there is no 'Create Mailname' event triggered. That explains why our scripts for mail box creation was not working some of the time. If they go to mail -> 'create email address' that works as expected and does trigger the event_handler.

STEPS TO REPRODUCE

1) Login to Plesk as client. (for a hosting service they have ordered for the domain example.com)
2) Click on "Account" menu on the left.
3) Edit details. Account -> My Profile. In here under the general tab 2nd line says 'email address' and has a blank box followed by @example.com in this scenario. Client enters 'info' into this box so email address field now reads [email protected] and clicks ok.

Note: Can also be done by going to 'Users" -> Click on user who is the primary "owner" to edit. -> Change Settings -> enter something in the 2nd line 'Email address' field. e.g. info before clicking ok. Mail box [email protected] is created (if it did not already exist) but no create event is triggered.

ACTUAL RESULT

In both cases 'Create Mailname' event is not triggered in script or action log

EXPECTED RESULT

'Create Mailname' event is triggered in script and action log

ANY ADDITIONAL INFORMATION

Here are some sanitized event logs;

First part is the system creating the client and hosting. 2nd part you can see logged in as exampleusr (client) where they were able to adjust their details and no 'Create Mailname' event triggers.

123.123.123.123 admin [2023-08-30 10:36:13] 'Create Client' ('Address': '' => '159 Fake St', 'Client GUID': '' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Client Type': 'client' => 'client', 'Company Name': '' => 'Dummy Pty Ltd', 'Contact Name': '' => 'Testing Co', 'E-mail': '' => '[email protected]', 'Login Name': '' => 'exampleusr', 'Password': '++++++' => 'xxxxxx', 'Phone': '' => '0311112222', 'Postal/ZIP Code': '' => '3121', 'State/Province': '' => 'Victoria')
123.123.123.123 admin [2023-08-30 10:36:13] 'Update Client Status' ('Client GUID': 'ff4e3203-b589-4426-8146-169084a6fb0d' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Client Type': 'client' => 'client', 'Contact Name': 'Testing Co' => 'Testing Co', 'Login Name': 'exampleusr' => 'exampleusr')
123.123.123.123 admin [2023-08-30 10:36:13] 'Update Client GUID' ('Client GUID': 'ff4e3203-b589-4426-8146-169084a6fb0d' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Client Type': 'client' => 'client', 'Login Name': 'exampleusr' => 'exampleusr')
123.123.123.123 admin [2023-08-30 10:36:13] 'Update Domain DNS Zone' ('Client GUID': 'ff4e3203-b589-4426-8146-169084a6fb0d' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Domain GUID': '6b036c46-8075-4b92-bfb7-3ccf7a599e61' => '6b036c46-8075-4b92-bfb7-3ccf7a599e61', 'Domain Name': 'example.com' => 'example.com')
123.123.123.123 admin [2023-08-30 10:36:14] 'Update Domain Limits' ('Client GUID': 'ff4e3203-b589-4426-8146-169084a6fb0d' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Domain GUID': '6b036c46-8075-4b92-bfb7-3ccf7a599e61' => '6b036c46-8075-4b92-bfb7-3ccf7a599e61', 'Domain Name': 'example.com' => 'example.com', 'Maximum Databases': 'unlimited' => '3', 'Maximum Disk Space': 'unlimited' => '26843545600', 'Maximum Mail Lists': 'unlimited' => '1', 'Maximum Mailbox Quota': 'unlimited' => '5368709120', 'Maximum Mailboxes': 'unlimited' => '5', 'Maximum Sites': 'unlimited' => '1', 'Site builder': 'unlimited' => '1')
123.123.123.123 admin [2023-08-30 10:36:19] 'Create Domain' ('Client GUID': '' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Domain GUID': '' => '6b036c46-8075-4b92-bfb7-3ccf7a599e61', 'Domain Name': '' => 'example.com', 'IP Address': '' => '175.45.125.128', 'IPv6 Address': '' => '')
123.123.123.123 admin [2023-08-30 10:36:19] 'Create Physical Hosting' ('Client GUID': 'ff4e3203-b589-4426-8146-169084a6fb0d' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Domain GUID': '6b036c46-8075-4b92-bfb7-3ccf7a599e61' => '6b036c46-8075-4b92-bfb7-3ccf7a599e61', 'Domain Name': 'example.com' => 'example.com', 'IP Address': '' => '123.123.123.123', 'Mod FastCGI Support': 'false' => 'true', 'Permanent SEO-safe 301 redirect from HTTP to HTTPS': '1' => '', 'PHP Support': 'false' => 'true', 'SSI Support': 'false' => 'true', 'System Shell': '' => '/bin/false', 'System User': '' => 'testing00', 'System User Password': '++++++' => 'xxxxxx', 'Web Statistics': 'none' => 'awstats')
123.123.123.123 admin [2023-08-30 10:36:28] 'Update Physical Hosting' ('Client GUID': 'ff4e3203-b589-4426-8146-169084a6fb0d' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Domain GUID': '6b036c46-8075-4b92-bfb7-3ccf7a599e61' => '6b036c46-8075-4b92-bfb7-3ccf7a599e61', 'Domain Name': 'example.com' => 'example.com')
123.123.123.123 admin [2023-08-30 10:36:36] 'Create FTP User' ('Client GUID': '' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Domain GUID': '' => '6b036c46-8075-4b92-bfb7-3ccf7a599e61', 'Domain Name': '' => 'example.com', 'Home Directory': '' => '/var/www/vhosts/example.com', 'System User': '' => 'weebly_gjliaasv8', 'System User Password': '++++++' => 'xxxxxx')
123.123.123.123 admin [2023-08-30 10:36:45] 'Update Physical Hosting' ('Client GUID': 'ff4e3203-b589-4426-8146-169084a6fb0d' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Domain GUID': '6b036c46-8075-4b92-bfb7-3ccf7a599e61' => '6b036c46-8075-4b92-bfb7-3ccf7a599e61', 'Domain Name': 'example.com' => 'example.com', 'PHP Handler': 'plesk-php82-fpm' => 'plesk-php82-fpm')

123.123.123.123 exampleusr [2023-08-30 10:39:22] 'Update Client' ('Client GUID': 'ff4e3203-b589-4426-8146-169084a6fb0d' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Client Type': 'client' => 'client', 'Contact Name': 'Testing Co' => 'Testing Co', 'Country': '' => 'AF', 'Login Name': 'exampleusr' => 'exampleusr')
123.123.123.123 exampleusr [2023-08-30 10:39:22] 'Update Client Status' ('Client GUID': 'ff4e3203-b589-4426-8146-169084a6fb0d' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Client Type': 'client' => 'client', 'Contact Name': 'Testing Co' => 'Testing Co', 'Login Name': 'exampleusr' => 'exampleusr')
123.123.123.123 exampleusr [2023-08-30 10:39:22] 'Update Client GUID' ('Client GUID': 'ff4e3203-b589-4426-8146-169084a6fb0d' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Client Type': 'client' => 'client', 'Login Name': 'exampleusr' => 'exampleusr')
123.123.123.123 exampleusr [2023-08-30 10:39:22] 'Additional user updated' ('Client GUID': 'ff4e3203-b589-4426-8146-169084a6fb0d' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Login Name': 'exampleusr' => 'exampleusr')
123.123.123.123 exampleusr [2023-08-30 10:39:23] 'Additional user updated' ('Client GUID': 'ff4e3203-b589-4426-8146-169084a6fb0d' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Login Name': 'exampleusr' => 'exampleusr')
123.123.123.123 exampleusr [2023-08-30 10:39:23] 'Update Client Preferences' ('Client GUID': 'ff4e3203-b589-4426-8146-169084a6fb0d' => 'ff4e3203-b589-4426-8146-169084a6fb0d', 'Client Type': '8' => '8', 'Contact Name': 'Testing Co' => 'Testing Co', 'Interface language': '' => 'en-US', 'Login Name': 'exampleusr' => 'exampleusr')

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you for your report. It's been forwarded for futher analysis as internal ID PPS-14904.
 
Hi Peter, is there any update on this issue? Not sure if its the new Dynamic view but we seem to be getting more people creating email addresses via users menu. As this does not trigger an event handler the mail box does not work in our system. We then have to delete and re-create it as a mail box to fix the issue.
This also results in conversations about why a mail box and a user are not the same thing with customers.
 
According to our documents, the solution of the issue is being worked on, but there is not ETA yet.
 
Back
Top