• 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.

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