1) Install dovecot-pigeonhole in qmt repository which provides Sieve.

2) You must use dovecot LDA the configuration of which is shown at the bottom of this page,

3) Implement 'sieve' in 'protocol lda {}' of dovecot configuration file (

4) Write sieve rules (

5) Tell dovecot where sieve rules are located in 'plugin {}' section of dovecot configuration file. (

6) Set proper permissions on sieve rules files and directory.


In  /home/vpopmail/domains/domain.tld/.qmail-default

OLD line:
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

NEW line:
| /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

Dspam w/dovecot-lda:

'.qmail-default' might look like this

| /usr/bin/dspam --user "$EXT@$HOST" --deliver=stdout | /var/qmail/bin/preline 
-f /usr/libexec/dovecot/deliver -d $EXT@$USER -o 


On 7/17/2017 10:26 PM, Remo Mattei wrote:
Hello I just installed the great qmt all working I wonder if there are some 
options to integrate the sieve plugin with Dovecot. I also notice that when I 
create a domain it does not all anything about the DSPAM. I did it manually to 
a user and that works.. what’s the best option to enable it for the entire 

To unsubscribe, e-mail:
For additional commands, e-mail:

Eric Broch
White Horse Technical Consulting (WHTC)

Reply via email to