[Dovecot] LDA ignored

Leander S. leander.schaefer at googlemail.com
Thu Jul 8 16:02:47 EEST 2010


Hi,

my final goal is it to make use Dovecot's sieve modul - but 
unfortunately I'm not getting the LDA running as it is described in the 
Dovecot's wiki pages ... ;/
I've more and more getting the feeling that the LDA section in the 
configuration is completely ignored, cause whatever change I do in there 
is not being recognized at all - I could just type wildly arround in 
there - restart Dovecot and it will work. But the dovecot.conf is being 
used by Dovecot - cause changes to other sections are affecting 
Dovecot's behaviour ... it's really just the LDA section. I configured 
and compiled Dovecot with LDA & Managesieve.
Otherwhise Dovecot / Postfix setup is running quite well - mail is being 
scanned by amavis and Spamassassin and delivered as it did before I 
added / changed the configs to the sieve related options ...
It's very weired.

I activated "mail_debug = yes" and the following shows up when I start 
Dovecot:

Starting dovecot.
ILoading modules from directory: /usr/local/lib/dovecot/imap
IModule loaded: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so
IModule loaded: /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so
IEffective uid=65534, gid=65534, home=/tmp
Iquota: No quota setting - plugin disabled
IEffective uid=65534, gid=65534, home=/tmp

It doesn't say a thing about sieve / lda ... ;(


The proof that Dovecot is running:

Server # ps aux | grep dove
root    29355  0.0  0.1  5944  1768  ??  Ss   10:02PM   0:00.05 /usr/local/sbin/dovecot -c /usr/local/etc/dovecot.conf
nobody  29356  0.0  0.3 17372  3512  ??  S    10:02PM   0:00.03 dovecot-auth
dovecot 29359  0.0  0.3  9816  3256  ??  I    10:02PM   0:00.04 managesieve-login
dovecot 29360  0.0  0.3  9816  3256  ??  I    10:02PM   0:00.05 managesieve-login
dovecot 29361  0.0  0.3  9816  3256  ??  I    10:02PM   0:00.03 managesieve-login
dovecot 29362  0.0  0.3  9816  3248  ??  I    10:02PM   0:00.03 pop3-login
dovecot 29363  0.0  0.3  9816  3248  ??  I    10:02PM   0:00.05 pop3-login
dovecot 29364  0.0  0.3  9816  3248  ??  I    10:02PM   0:00.03 pop3-login
dovecot 29365  0.0  0.3  9812  3260  ??  I    10:02PM   0:00.03 imap-login
dovecot 29366  0.0  0.3  9812  3260  ??  I    10:02PM   0:00.03 imap-login
dovecot 29367  0.0  0.3  9812  3448  ??  S    10:02PM   0:00.03 imap-login: imap-login [192.168.1.233 TLS] (imap-login)
dovecot 29374  0.0  0.3  9812  3260  ??  I    10:03PM   0:00.02 imap-login



The last lines of Postfix master.cf:

dovecot   unix  -       n       n       -       -       pipe
   flags=DRhu user=dovecot:dovecot argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d ${recipient}

# AMaVIs interface
smtp-amavis unix -      -       n       -       2       smtp
     -o smtp_data_done_timeout=1200
     -o disable_dns_lookups=yes

127.0.0.1:10025 inet n  -       n       -       -       smtpd
     -o content_filter=
     -o local_recipient_maps=
     -o relay_recipient_maps=
     -o smtpd_restriction_classes=
     -o smtpd_client_restrictions=
     -o smtpd_helo_restrictions=
     -o smtpd_sender_restrictions=
     -o smtpd_recipient_restrictions=permit_mynetworks,reject
     -o mynetworks=127.0.0.0/8
     -o strict_rfc821_envelopes=yes
     -o smtpd_error_sleep_time=0
     -o smtpd_soft_error_limit=1001
     -o smtpd_hard_error_limit=1000



and finally some more out of the dovecot.conf:

[...]

protocols = imap imaps pop pop3s managesieve lda

[...]

mail_debug = yes

[...]

protocol lda {
   mail_plugins = sieve # ... other plugins like quota
   mail_plugin_dir = /usr/local/lib/dovecot/lda
   # If there is no user-specific Sieve-script, global Sieve script is
   # executed if set.
   sieve_global_path = /usr/local/etc/dovecot/sieve/default.sieve
   postmaster_address = admin at server.netocean
   sendmail_path = /usr/local/sbin/sendmail
   log_path = /var/log/dovecot-deliver.log
   info_log_path = /var/log/dovecot-deliver.log
}

[...]


plugin {
## # NOTE: %variable expansion works only with Dovecot v1.0.2+
## sieve = /var/sieve-scripts/%u.sieve

    # quota = maildir

    # The location of the users active script:
    sieve = ~/.dovecot.sieve

    # If the user has no personal active script (i.e. if the file
    # indicated in sieve= does not exist), use this one:
    #sieve_global_path = /usr/local/etc/dovecot/sieve/default.sieve

    # The include extension fetches the :personal scripts from this
    # directory. When ManageSieve is used, this is also where scripts
    # are uploaded.
#   sieve_dir = ~/sieve

    # The include extension fetches the :global scripts from this
    # directory. Extension hamm wir nicht aktiviert.
#   sieve_global_dir = /usr/local/etc/dovecot/sieve/global/

    # Scripts executed before the user's script.
    #   E.g. handling messages marked as dangerous
#   sieve_before = /var/lib/dovecot/sieve/discard-virusses.sieve

    # Scripts executed after the user's script (if keep is still in effect)
    #   E.g. default mail filing rules.
#   sieve_after = /var/lib/dovecot/sieve/after.d/

}

[...]



Any suggestions of what I'm doing wrong?
Thx


More information about the dovecot mailing list