• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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