• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Plesk 12.5 - event handler issue

K60

New Pleskian
I am having an issue with an event handler that should turn on domainkeys when a subscription is created. Sometimes it works, but most the time it doesn't. Even if the log says it has worked sometimes it does not tick the domainkeys box in plesk.

I am running Windows Server 2012R2 with latest updates & Plesk 12.5.30 Update #4.

Here is the command I am running from the event handler (If I run the same command from the dos prompt it works every time):

Default domain (the first domain added to a subscription or webspace) created

highest (100) Plesk Administrator

"C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings.exe" --update <new_domain_name> -sign_outgoing_mail true


Here is the "event_handler.log" (out of the 3 successes below only 1 time was the domainkeys box in plesk checked for the domain):

[6076] Tue Sep 29 20:55:47 2015 Plesk Administrator: "C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings.exe" --update test.com -sign_outgoing_mail true
[6076] finished with exit code (SUCCESS: Update of domain 'test.com' completed.
):(0)
[7024] Tue Sep 29 21:00:41 2015 Plesk Administrator: "C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings.exe" --update test2.com -sign_outgoing_mail true
[7024] finished with exit code (An error occurred while updating domain settings: Unable to create object:
):(1)
[4204] Tue Sep 29 21:04:01 2015 Plesk Administrator: "C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings" --update test3u.com -sign_outgoing_mail true
[4204] finished with exit code (An error occurred while updating domain settings: Unable to create object:
):(1)
[1628] Tue Sep 29 21:07:11 2015 Plesk Administrator: "C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings" --update test3test.com -sign_outgoing_mail true
[1628] finished with exit code (An error occurred while updating domain settings: Unable to create object:
):(1)
[6828] Tue Sep 29 21:23:01 2015 Plesk Administrator: "C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings" --update test123.com -sign_outgoing_mail true
[6828] finished with exit code (SUCCESS: Update of domain 'test123.com' completed.
):(0)
[7944] Tue Sep 29 21:24:13 2015 Plesk Administrator: "C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings" --update test50.com -sign_outgoing_mail true
[7944] finished with exit code (An error occurred while updating domain settings: Unable to create object:
):(1)
[1508] Tue Sep 29 21:27:24 2015 Plesk Administrator: "C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings.exe" --update testasdf.com -sign_outgoing_mail true
[1508] finished with exit code (SUCCESS: Update of domain 'testasdf.com' completed.
):(0)
 
Hi @Adam_K60!

From the error message I can suppose that there is no mail service on the subscriptions which fail. Are these subscriptions created based on the same service plan?

Could you please check manually if mail service is enabled on the subscriptions which fail.
 
Back
Top