[Dovecot] Dovecot 2.2.1 LDA and sieve (lack of) errors

Stephan Bosch stephan at rename-it.nl
Sun May 19 00:35:13 EEST 2013


On 5/18/2013 4:56 PM, Jim McNamara wrote:
> Hello again, all. Of course after posting yesterday that all was well 
> with my setup, turns out all is not well. The problem I'm having is 
> with dovecot-lda functioning and making deliveries to my mailbox, but 
> the sieve scripts don't seem to have any effect. Attempts at logging 
> what is/isn't happening have been total failures.
>
> Managesieve seems to work fine, port 4190 is open on the server and it 
> allows the tunderbird plugin to function, I can create and edit 
> scripts with the plugin. For some reason it doesn't seem to 
> auto-compile the scripts to binary form, but if I just need to do that 
> manually I can live with it. I only mention the lack of auto-compiling 
> in case that sheds light on what is wrong with the LDA or sieve.
>
> I'm running the current dovecot, 2.2.1 along with pigeonhole 0.4.0. 
> Here is the config:
>
> root at hostname:/usr/local/dovecot-2.2.1# doveconf -n
> # 2.2.1: /usr/local/etc/dovecot/dovecot.conf
> # OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.0
>
> mail_debug = yes

So, mail_debug is enabled.

> Here's the file that calls dovecot-lda for user jim:
>
> vpopmail at hostname:~/domains/domain.com/jim$ cat .qmail-default
> |/var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda -d 
> $EXT@$USER
>
> Both /var/qmail/bin/preline and /usr/local/libexec/dovecot/dovecot-lda 
> exist.

Are you sure this is actually being executed? What happens if you 
execute dovecot-lda manually?

This is an example of what you're supposed to see in the logs with 
mail_debug=yes:

May 18 23:28:02 klara dovecot: lda: Debug: Loading modules from 
directory: /usr/lib/dovecot/modules
May 18 23:28:02 klara dovecot: lda: Debug: Module loaded: 
/usr/lib/dovecot/modules/lib90_sieve_plugin.so
May 18 23:28:02 klara dovecot: lda(stephan): Debug: Effective uid=1000, 
gid=1000, home=/home/stephan
May 18 23:28:02 klara dovecot: lda(stephan): Debug: Namespace inbox: 
type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, 
subscriptions=yes location=maildir:~/Maildir
May 18 23:28:02 klara dovecot: lda(stephan): Debug: maildir++: 
root=/home/stephan/Maildir, index=, indexpvt=, control=, 
inbox=/home/stephan/Maildir, alt=
May 18 23:28:02 klara dovecot: lda(stephan): Debug: userdb lookup 
skipped, username taken from USER environment
May 18 23:28:02 klara dovecot: lda(stephan): Debug: none: root=, index=, 
indexpvt=, control=, inbox=, alt=
May 18 23:28:02 klara dovecot: lda(stephan): Debug: Destination address: 
stephan at klara (source: user at hostname)
May 18 23:28:02 klara dovecot: lda(stephan): Debug: sieve: Pigeonhole 
version 0.4.0 initializing

Regards,

Stephan.




More information about the dovecot mailing list