• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

before sieve rule

Heppi75

Basic Pleskian
hi,

I want to include my own before.sieve rule that is executed before the user rules. I made a configuration file like this in the dovecot conf folder (00-myconf.conf):

Code:
protocols = $protocols sieve


protocol sieve {
}

protocol lda {
  mail_plugins = $mail_plugins sieve
}

plugin {
    sieve_before = /etc/dovecot/sieve/before.sieve
}

the plesk config (90-plesk-sieve.conf) is loaded with this:

Code:
protocols = $protocols sieve

protocol sieve {
}

protocol lda {
  mail_plugins = $mail_plugins sieve
}

plugin {
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve

  # Horde webmail (Ingo sieve backend) is not aware of RFC 'imap4flags' and
  # 'enotify' extensions. Enable old deprecated ones.
  sieve_extensions = +notify +imapflags
}

# Log format compatible with Plesk statistics collector.
managesieve_logout_format = "rcvd=%i, sent=%o"

if I am doing this the user rules are ignored? could you please help how to integrate this?
 
hi, problem solved - there was an error in the before.sieve script ... - so this configs works as shown above ...
 
Back
Top