• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Resolved Pigeonhole Sieve

RaHa

Basic Pleskian
Is Pigeonhole Sieve in Plesk?

If so, how to use Pipe Plugin?

#---------------------------------------------------------
plugin {
sieve_plugins = sieve_pipe
sieve_pipe_bin_dir = /etc/dovecot/conf.d/custom-pipe
}
#---------------------------------------------------------

Deliver this error:

managesieve: Fatal: Plugin 'sieve_pipe' not found from directory /usr/lib/dovecot/modules/sieve
dovecot: config: Error: managesieve-login: dump-capability process returned 89

If not, how to install?

Thanks.
 
As far as I know, the sieve_pipe plugin is very old. If I'm not mistaken, these days, that functionality is included in the sieve_extprograms plugin.
Plesk is shipped with package plesk-dovecot-pigeonhole. Make sure that it is installed on your server and try to use it for your purposes.
 
Thanks! That works:

#---------------------------------------------------------
plugin {
sieve_plugins = sieve_extprograms
sieve_global_extensions = +vnd.dovecot.pipe
sieve_pipe_bin_dir = /etc/dovecot/conf.d/custom-pipe

#
# Make sure to run "sievec" on this:
sieve_before = /etc/dovecot/conf.d/custom-sieve/global-before.sieve
sieve_after = /etc/dovecot/conf.d/custom-sieve/global-after.sieve
#
}
#---------------------------------------------------------

Pigeonhole/Sieve/Plugins/Extprograms - Dovecot Wiki
Resolved - Global Dovecot Sieve Rule?

#/etc/dovecot/conf.d/custom-sieve/global-before.sieve
require ["vnd.dovecot.pipe"];

#pipe---------------------------------------------------------
if header :contains "Subject" "TESTPIPE" {
pipe "sievefilter.sh";
stop;
}

#!/bin/sh
#/etc/dovecot/conf.d/custom-pipe/sievefilter.sh
pre="/var/qmail/mailnames/domain.tld/webmaster/Maildir/.sievefilter/new/"
suf="_SIEVEFILTER"
file_name=$pre$(date "+%Y%m%d%H%M%S%N")$suf
cat >$file_name
exit 0
 
Last edited:
Back
Top