• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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