• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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