• 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.

Search results

  1. L

    Extension Dev - Handling Mails

    So it is not possible to implement an Extension for Plesk with an Mail-Handler wich you can install without SSH Access?
  2. L

    Question Get PHP Script wich generated the Mail

    Hey there, I started reading about Plesk Extensions and Mail Handlers (may you saw my Posts here https://talk.plesk.com/threads/extension-dev-handling-mails.338811/ and here https://talk.plesk.com/threads/255-during-post-install-php-exec-call.339129/). My Question: How can I get the Path to PHP...
  3. L

    Extension Dev - Handling Mails

    Hey mizar, may you read my last post https://talk.plesk.com/threads/extension-dev-handling-mails.338811/#post-807153 and give an idea?
  4. L

    Extension Dev - Handling Mails

    Last puzzle seems to be to chown / chmod from post-install.php. Sep 2 13:04:14 v22016081573736335 plesk sendmail[30921]: handlers_stderr: SKIP Sep 2 13:04:14 v22016081573736335 plesk sendmail[30921]: SKIP during call 'check-quota' handler Sep 2 13:04:14 v22016081573736335 plesk...
  5. L

    Resolved 255 during post-install.php exec-call

    OK got it, "callSbin" has to be used here :) <?php pm_ApiCli::callSbin('mail_handlers_control', array('--add', '--priority', '50', '--queue=before-queue', '--type', 'global', '--executable', '/opt/psa/admin/htdocs/modules/PMSP/mail-handler.sh', '--enabled', '--name', 'PMSP'))...
  6. L

    Resolved 255 during post-install.php exec-call

    Another try would be this script <?php pm_ApiCli::call('mail_handlers_control', array('--add', '--priority', '50', '--queue=before-queue', '--type', 'global', '--executable', '/opt/psa/admin/htdocs/modules/PMSP/mail-handler.sh', '--enabled', '--name', 'PMSP'))...
  7. L

    Resolved 255 during post-install.php exec-call

    Hey there, I would like to use exec in post-install.php to register and mailhandler (see https://talk.plesk.com/threads/extension-dev-handling-mails.338811/). But I get: root@v22016081573736335:~# plesk bin extension -i /root/PMSP-0.1-2.zip exit status 255 exit status 255 The extension was...
  8. L

    Extension Dev - Handling Mails

    Hey there, within PhpStorm I changed from CRLF to LF for EOL (so it's unix style now). Also I did the chown to make sure all is like your configuration. root@v22016081573736335:~# ls -l /opt/psa/admin/htdocs/modules/PMSP/mail-handler.sh -rwxr-xr-x 1 root popuser 205 Sep 2 11:00...
  9. L

    Extension Dev - Handling Mails

    You mentioned the line Sep 1 10:26:50 v22016081573736335 /usr/lib/plesk-9.0/psa-pc-remote[15289]: handlers_stderr: Mail handler call failed. Error occured during execv(/opt/psa/admin/htdocs/modules/PMSP/mail-handler.sh):#012No such file or directory right? Looks like plesk doesnt find that...
  10. L

    Extension Dev - Handling Mails

    Hey, as of it is a dummy file at the moment, of course I can :) #!/bin/sh sender="$1" sender="$2" context="$3" msg=`cat -` echo "X-Processed-By: my-test-handler" echo $msg echo "PASS" >&2 logger "X-Processed-By: my-test-handler" logger $msg logger "PASS" >&2 exit 0 (I also posted is in #7...
  11. L

    Extension Dev - Handling Mails

    OK thanks for your information. Indeed the file was root.root so I change it: root@v22016081573736335:~# ls -l /opt/psa/admin/htdocs/modules/PMSP/mail-handler.sh -rwxr-xr-x 1 root popuser 220 Aug 19 09:36 /opt/psa/admin/htdocs/modules/PMSP/mail-handler.sh now I monitored the following...
  12. L

    Extension Dev - Handling Mails

    Hey there, OK my test-handler seems to have an problem...? Aug 19 09:26:58 v22016081573736335 postfix-local[15632]: postfix-local: [email protected], [email protected], dirname=/var/qm$ Aug 19 09:26:58 v22016081573736335 postfix-local[15632]: Error...
  13. L

    Extension Dev - Handling Mails

    Hey mizar, Ok for debugging purposes I deployed an SHELL script with my Plesk Extension and run the following command: plesk sbin mail_handlers_control --add --priority 50 --queue=before-queue --type global --executable /opt/psa/admin/htdocs/modules/PMSP/mail-handler.sh --enabled --name...
  14. L

    Extension Dev - Handling Mails

    And next question: How can I register my executable while installing the Plesk extension, and de-register while removing the plesk extension?
  15. L

    Extension Dev - Handling Mails

    Hey mizar, thanks for reply. That script could be PHP? Or do it have to be Shell? Is there an example out there for this use-case?
  16. L

    Extension Dev - Handling Mails

    Hey there, I want to develope an extension for my Plesk servers to do some check of outgoing mails before they will be delivered. I created an Plesk Extension and setup an test-server. So now I read the documentation about Mail Handlers...
  17. L

    service-plan-addon > add

    Hey @vlikhtanskiy , you are right. Now it works. But for permissions I have an question: One of my WebServers has no WordPress Toolkit. In my XML for Permissions I define the two permissions...
  18. L

    service-plan-addon > add

    Hey there, currently I'am developing an ControlCenter for Managing multiple Plesk Servers with APIs to some additional Services. My current target is to collect Hosting plans and Hosting plan addons from all Servers and sync them. So I load the plan via API from one Server, and send it to...
  19. L

    Disable Mail-Service for abonement with two domains

    Aliases will be redirected, won't they? Haven't tryed it. But : how can I deactivate MailService per domain? I just see the deactivate per Abonement. PPP is 11.5.30 Update #27
  20. L

    Disable Mail-Service for abonement with two domains

    Hey Henning, thanks for your fast replys :) Both as Hosted.
Back
Top