• 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

    Question Add Dovecot sieve file via Plesk extension

    Is there any way to add an dovecot sieve file via an plesk Extension and remove it on uninstall? Tryed on post-install.php pm_ApiCli::callSbin('copy_file', array(dirname(__FILE__).'/99-my-sieve.conf', '/etc/dovecot/conf.d/99-my-sieve.conf')); to specify my sieve file path but copy_file throws...
  2. L

    Question Move Mail to specific folder

    Hi @mizar thanks for Reply. OK so as it depemds on the IMAP Server, where can I read how to do it for the possible Servers? Your second Idea sounds also really good. Is there any way to add an message filter on server side via a Plesk Extension? It should be possible in some way as of SPAM...
  3. L

    Question Move Mail to specific folder

    Hey there, through an Plesk Extension I registered some Mail Handlers and all works well for me. With that Extension I Reject some mails under Special conditions. I was wondering if there is any way for me to not REJECT, but MOVE the mail to a special folder like SPAM or something else? I think...
  4. L

    Issue Plesk API don't support CORS preflight OPTIONS Request

    Hey there, I'am going to write an Angular2-Module for Plesk API for my own small Needs. I noticed that Plesk don't Support the CORS preflight OPTIONS request: https://www.html5rocks.com/en/tutorials/cors/ Is there any Option to allow that request so I can continue my work? (For this...
  5. L

    Resolved Mail-Handler - REJECT with message?

    OK now I'm done I think. But I had to work way other than I thought it would work. I used "before-remote" for outgoing Mails, and "before-local" for incoming. Then I mentioned, "before-remote" is called on both (Name is confusing then). So I used local IPs the the IP of the senders Domain to...
  6. L

    Resolved Mail-Handler - REJECT with message?

    Is it possible, that the reply is to late in "before-local". It work's in "before-remote" but not in "before-local". In both ways the mail got rejected, but my custom message just via rejecting in "before-remote"
  7. L

    Resolved Mail-Handler - REJECT with message?

    Oh my gosh, the spaces :/ Thank you. It now works.
  8. L

    Resolved Mail-Handler - Called twice, why?

    OK as of it looks that there is no way to manage just incoming or (explicit or) outgoing mails, I used an host-lookup on the senders domain to figure out if its in the local configured ips and I decide that way if I do the extensions work on before-remote or before-local.
  9. L

    Resolved Mail-Handler - REJECT with message?

    It would be really nice if I could finish my implementation. Some help from Plesk team would be great.
  10. L

    Resolved Mail-Handler - Called twice, why?

    It would be really nice if I could finish my implementation. Some help from Plesk team would be great.
  11. L

    Question Synchronize Abonnement without custom PHP Configuration?

    Same problem as with Addons: I do have three plans: "Hosting Light", "Hosting Medium" and "Hosting Large". But I have 15 Plans for it (because of each PHP Version). If I add this Setting to it, I will have 30 Plans. And is I Keep in mind just one other Setting, like Memory, I will grow up to...
  12. L

    Question Synchronize Abonnement without custom PHP Configuration?

    Hello, an single Domain of one Abonnement (70 Domains) within one of my Plesk Servers with multiple Abonnements Needs "short open tags" of PHP. So we're talking about an really Special case. (may don't reduce it to this flag, could also be "Register globals" or others). In generall I have this...
  13. L

    Resolved Mail-Handler - REJECT with message?

    As of I have an Shell-Script I can't use your Code. But I had a look on it and I think that should be possible via Shell too, but I don't get it up. Here's the Shell Code: echo "DATA REPLY: 554: 5.7.1 My Message" >&2 echo "REJECT" >&2 echo "$msg" exit 0 An this is the Output Oct 22...
  14. L

    Resolved Mail-Handler - Called twice, why?

    The general Idea is simple: POST some data to an URL on incoming and outgoing mails. One of the POST-fields is "context" wich I set on registering mail handlers: root@v22016081573736335:~# plesk sbin mail_handlers_control --list...
  15. L

    Resolved Mail-Handler - Called twice, why?

    Thanks for the information. This is what I feared above. As of "before-local" has a usefull amount of more detailed data, I wanted to just react in before-local, or on incomming mails, just in before-remote. Currently I dont see any possibility to act this way!? | [email protected] |...
  16. L

    Resolved Mail-Handler - Called twice, why?

    OK I now just hooked up "before-local" and "before-remote" and added a context ("incomming" for "before-local" and "outgoing" for "before-remote"), but it still got called twice: root@v22016081573736335:~# plesk sbin mail_handlers_control --list...
  17. L

    Resolved Mail-Handler - Called twice, why?

    Hey there, as I do develope an Mail-Handler I wondered why it is executed twice per Mail. I think I got the reason and now I wonder even more. Theese are my Mail-Handlers: root@v22016081573736335:~# plesk sbin mail_handlers_control --list...
  18. L

    Resolved Mail-Handler - REJECT with message?

    Hey there, I did register an Mail-Handler (had a view discussions about that here https://talk.plesk.com/threads/extension-dev-handling-mails.338811/) and today morning I played with the "PASS" and "REJECT" output. Quickly an question raises: How can I pass a custom Message for the reasen about...
  19. L

    Extension Dev - Handling Mails

    ugh. sorry I looked up just "plesk bin" and not "plesk sbin". For otheres, this ways works: <?php pm_ApiCli::callSbin('ch_mode', array('+x', dirname(__FILE__).'/mail-handler.sh')); pm_ApiCli::callSbin('ch_owner', array('popuser:postfix', dirname(__FILE__).'/mail-handler.sh'))...
  20. L

    Extension Dev - Handling Mails

    I updated my post-install.php, but it doesn't seem to work <?php chmod(dirname(__FILE__).'/mail-handler.sh', 0755); chown(dirname(__FILE__).'/mail-handler.sh', 'popuser.postfix'); pm_ApiCli::callSbin('mail_handlers_control', array('--add', '--priority', '50', '--queue=before-queue', '--type'...
Back
Top