Re: [exim] Exim with virtual domains and Sieve

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Yves Goergen
Date:  
À: exim-users
Sujet: Re: [exim] Exim with virtual domains and Sieve
I cannot find pysieved on the internet. Does it still exist? There are a
few traces, some only contain broken links. Nothing looks authoritative.

Adding that "# Sieve filter" with an SQL query is easy enough. Letting
users edit their script is more interesting. I have a web-based
management UI that users could use for that. Since I have no experience
with Sieve at all myself, I don't know what tools exist for that and
whether they're any good.

Yves

________________________________________
Von: Phil Pennock
Gesendet: Sa, 2017-05-27 22:46 +0200
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