all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Janneke Nieuwenhuizen <janneke@gnu.org>
To: help-guix@gnu.org
Subject: Recipe for setting-up Exim with Dovecot and Sieve?
Date: Fri, 06 Sep 2024 10:17:28 +0200	[thread overview]
Message-ID: <87o751dwmf.fsf@gnu.org> (raw)

Hi!

I have been running exim as a strictly forwarding mail server

--8<---------------cut here---------------start------------->8---
(service mail-aliases-service-type
         '(("postmaster"  "janneke")
           ("janneke"     "janneke@gnu.org")))
(service exim-service-type (exim-configuration))
--8<---------------cut here---------------end--------------->8---

pretty neat!

After the freedom.nl debacle of blacklisting [eggs.]gnu.org I am now
wondering how (easy it is) to add local storage and IMAP for personal
use only.  It seems to me that Exim also has Sieve builtin and looks at
a user's ~/.forward file (with some magic -- why seems everything
related to email so full of magic?), but that probably won't work/play
well with IMAP?  And for IMAP folders to be filtered using Sieve you
probably need dovecot-pigeonhole to also add Sieve to Dovecot?

I found some useful things on the interwebs but the documentation still
got me wondering about the service configuration, especially the setup
of dovecot with sieve.  Would this work/be enough?

--8<---------------cut here---------------start------------->8---
(service mail-aliases-service-type
         '(("postmaster"  "janneke")
           ("janneke"     "janneke" "janneke@gnu.org")))
(service exim-service-type (exim-configuration))
;; TODO
;; * Do I have to set mail-plugins?
;; * What about managesieve-* (what /is/ managesieve)?
;; * What about plugin-configuration?
;; * Where does pigeonhole read a user's .sieve file?
;; * Do I have to setup/install/configure a sieve server (how)?
(service dovecot-service-type
         (dovecot-configuration
          (protocols
           (list (protocol-configuration
                  (name "imap")
                  (mail-max-userip-connections 1)
                  (mail-plugins (list dovecot-pigeonhole)))))
          (services (list
                     (service-configuration
                      (kind "imap")
                      (client-limit 1))))))
--8<---------------cut here---------------end--------------->8---

The documentation talks about plugin-configuration, "the ManageSieve
service", managesieve-notify-capabilities, managesieve-sieve-capability,
are those needed and if so how and what might they be?

It also says "...the Sieve interpreter supports by default", which
suggests there could be different sieve servers (is a sieve server a
MananageSieve server?), but there doesn't seem to be a
[manage-]sieve-service-type ...I'm pretty puzzled.

Any help much appreciated.

Greetings,
Janneke

-- 
Janneke Nieuwenhuizen <janneke@gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com


             reply	other threads:[~2024-09-06  8:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-06  8:17 Janneke Nieuwenhuizen [this message]
2024-09-25 22:56 ` Recipe for setting-up Exim with Dovecot and Sieve? Felix Lechner via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o751dwmf.fsf@gnu.org \
    --to=janneke@gnu.org \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.