[Dovecot] Released Pigeonhole v0.3.1 for Dovecot v2.1.6
Daniel Parthey
daniel.parthey at informatik.tu-chemnitz.de
Sun May 27 16:00:50 EEST 2012
Hi Ed,
Ed W wrote:
> I have groups of users where we have a predefined
> bunch of filtering that happens on their account. At the moment the
> users are grouped into top level directories so that the "home" and
> hence default scripts can cascade down. However, it means it's not
> trivial to adjust the grouping of the users and requires on disk
> placement to be meaningful. I would desire to find a way of when
> Postfix delivers a mail for a user X that this will run a bunch of
> predefined filtering scripts which are per-user, plus the users
> normal scripts. All scripts would normally live on disk
>
> Perhaps this is actually more easily done a different way?
Would it be possible to do conditional includes in
the global "before" script, something like this?
if domain :matches "foo.example.org" {
include "foo.sieve"
}
elsif domain :matches "bar.example.org" {
include "bar.sieve"
}
Regards,
Daniel
More information about the dovecot
mailing list