[Dovecot] Dovecot not processing through Sieve

Steven Kiehl nanovox at gmail.com
Thu Oct 13 18:39:23 EEST 2011

Problem solved.  It appears that my configuration contained two plugin {}
blocks.  One in an include (which is what I was editing) and one in the main
dovecot.conf.  While neither plugin {} block contained anything that would
override the other, it appears that deliver doesn't listen to the second
block.  when I run "dovecot -n" the settings from both blocks are
consolidated and output, but as soon as I removed the duplicate block,
deliver started processing Sieve rules as expected.

It wasn't until I tried hand-delivering a message on the command line that
the issue became obvious.  I'm not sure if deliver is actually paying any
attention to the include options, so I may consolidate my config and forget
about multiple configuration files.

Thanks for your help Stephan!

- Steve K.

On Thu, Oct 13, 2011 at 11:07 AM, Stephan Bosch <stephan at rename-it.nl>wrote:

>  Please reply to the list as well.
> On 10/13/2011 3:28 PM, Steven Kiehl wrote:
> On Thu, Oct 13, 2011 at 9:21 AM, Stephan Bosch <stephan at rename-it.nl>wrote:
>> Are you sure you are using the Dovecot LDA (deliver)? Did you follow these
>> instructions in the wiki?
>> http://wiki1.dovecot.org/LDA
>> http://wiki1.dovecot.org/LDA/Postfix
>> From the looks of things, your Postfix currently still does its own mail
>> delivery instead of using the Dovecot LDA. You should see entries in your
>> log relating to LDA/deliver and Sieve, especially since you enabled
>> mail_debug. To test whether Sieve is configured correctly (and to see what
>> the Dovecot LDA normally logs), you can also manually execute
>> /usr/lib/dovecot/deliver and feed it a message.
>>  I am using Dovecot deliver to perform mail delivery.  I'm absolutely
> certain of this because I get spam scores and it is SpamAssassin that
> actually hands the mail over to deliver.  Here is my postfix master.cfentry for spamc/deliver:
>  dovespam   unix  n      n       n       -       -       pipe
>   flags=DRhu user=dovemail:dovemail argv=/usr/bin/spamc -f -e
> /usr/lib/dovecot/deliver -c /etc/dovecot/dovecot.conf -f ${sender} -d
> ${user}@${nexthop} -n -m ${extension}
> Ok, then what do your logs say about delivery? Even when things are filed
> in INBOX, the logs should show that deliver and sieve are being executed and
> putting the mail there.
> http://wiki1.dovecot.org/Logging
> Regards,
> Stephan

More information about the dovecot mailing list