Hi I'm changing from fetchmail to getmail, in order to fetch my mail from several mail servers and deliver it to my local dovecot server. Fetchmail supports LMTP, getmail doesn't. So I'm making getmail call dovecot-lda for delivering the mail. But now, the incoming mail doesn't get filtered through sieve any longer. However, this command works: sieve-filter -v -u v ~v/.dovecot.sieve INBOX -e -W expunge Any ideas? Greetings V.W.
Christian Kivalo
2018-Feb-03 05:55 UTC
dovecot-lda won't cause mail to be filtered by sieve
On February 3, 2018 3:39:56 AM GMT+01:00, Volker Wysk <post at volker-wysk.de> wrote:>Hi > >I'm changing from fetchmail to getmail, in order to fetch my mail from >several mail servers and deliver it to my local dovecot server. >Fetchmail supports LMTP, getmail doesn't. So I'm making getmail call >dovecot-lda for delivering the mail. But now, the incoming mail doesn't >get filtered through sieve any longer. > >However, this command works: > >sieve-filter -v -u v ~v/.dovecot.sieve INBOX -e -W expunge > >Any ideas? > >Greetings >V.W.You need to enable the sieve plugin for LDA. Look at the 15-lda.conf config file. At the end of the file you should have protocol lda { mail_plugins = $mail_plugins sieve } -- Christian Kivalo
Am Samstag, 3. Februar 2018, 06:55:47 CET schrieb Christian Kivalo:> > On February 3, 2018 3:39:56 AM GMT+01:00, Volker Wysk <post at volker-wysk.de> wrote: > >Hi > > > >I'm changing from fetchmail to getmail, in order to fetch my mail from > >several mail servers and deliver it to my local dovecot server. > >Fetchmail supports LMTP, getmail doesn't. So I'm making getmail call > >dovecot-lda for delivering the mail. But now, the incoming mail doesn't > >get filtered through sieve any longer. > > > >However, this command works: > > > >sieve-filter -v -u v ~v/.dovecot.sieve INBOX -e -W expunge > > > >Any ideas? > > > >Greetings > >V.W. > You need to enable the sieve plugin for LDA. Look at the 15-lda.conf config file. > > At the end of the file you should have > protocol lda { > mail_plugins = $mail_plugins sieve > }That's it. Thanks! Volker
Reasonably Related Threads
- dovecot-lda won't cause mail to be filtered by sieve
- Gnu sieve vs Dovecot sieve-filter - sieve-filter extremely slow at lda (writing emails to local mbox files)
- Dovecot Setup as just a local IMAP server.
- Bug#776094: dovecot-imapd: corrupts mailbox after trying to retrieve it (fwd)
- dovecot lda & sieve: resubmit folder for resieving