• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

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