• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Question Add Dovecot sieve file via Plesk extension

lippoliv

Basic Pleskian
Is there any way to add an dovecot sieve file via an plesk Extension and remove it on uninstall?

Tryed on post-install.php
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 an error with "invalid path"...
 
Back
Top