Re: [exim] Exim with virtual domains and Sieve

Góra strony
Delete this message
Reply to this message
Autor: Phil Pennock
Data:  
Dla: Yves Goergen
CC: exim-users
Temat: Re: [exim] Exim with virtual domains and Sieve
On 2017-05-27 at 15:03 +0200, Yves Goergen wrote:
> Another question is how the managesieve service can be integrated in this.
> Exim wants to read the sieve script from somewhere (might be a local file or
> a database query), and managesieve, which is required by several client-side
> plugins, wants to store the scripts somewhere, too. I have no idea whether
> it's even possible to glue all these pieces together.


pysieved is the service usually (AFAIK) used with Exim for providing
ManageSieve service. It has a mode to automatically insert the "# Sieve
filter" line which Exim requires as a transparent step, an
implementation detail of the store, not exposed to the clients.

It already has support for MySQL for various things, so if the actual
script storage can't be in MySQL at present, you could add it easily
enough, as long as you can write Python.

I'm the author of sieve-connect, the ManageSieve client which is
packaged by a few OSes; it's known to work with Cyrus IMAP's timsieved
and with pysieved. When testing by hand with Exim, pysieved is what
I've used.

-Phil