[Dovecot] Filtering spam in an offlineimap + dovecot setup

Alan Schmitt alan.schmitt at polytechnique.org
Wed Feb 19 11:20:18 UTC 2014


Hi Damon,

dkh at member.fsf.org (Damon K. Haley) writes:

> Here are my relevant config files:
>
> https://github.com/dhaley/feedyourbaby/blob/master/conf.d/15-lda.conf
> https://github.com/dhaley/feedyourbaby/blob/master/conf.d/90-sieve.conf
>
> Hopefully that helps, although I'm guessing you've already figured it
> out.

Thanks. I found out how to call dovecot as a lda from fetchmail, but
could not see how to do it from offlineimap. So I'm now using the
following architecture, which works well in practice but is a little bit
complex.

#+begin_example
  +------------+     +-----------+      imap sync       +----------+      +----------------+
  |mail clients|-----|remote imap|----------------------|local imap|------|  mail clients  |
  |(webmail,   |     +-----------+    (offlineimap)     |(dovecot) |      |(gnus, Mail.app)|
  | smartphone)|           |                            +----------+      +----------------+
  +------------+           V                               ^  |
                           |   fetch mail and filter it    |  |
                           \______________________________/   |
                              (fetchmail + dovecot lda)       |
                                                              |
                                                        +------------+     +---------------+
                                                        |mail storage|-----| mail indexing |
                                                        | (maildir)  |     |   (notmuch)   |
                                                        +------------+     +---------------+
#+end_example

Alan


More information about the dovecot mailing list