• 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

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