[Dovecot] Adding Sieve Extensions
James Butler
jbutler at thebestdefense.com
Fri Apr 3 23:40:46 EEST 2009
> On Fri, 2009-04-03 at 13:08 -0700, James Butler wrote:
>> - Dovecot v.1.2.beta4
>> - Sieve 0.1.4
>>
>> I am getting this in my sieve log:
>>
>> main script: line 7: error: unsupported sieve capability 'editheader'.
>
> Right, this isn't supported.
>
>> main script: line 7: error: unsupported sieve capability 'discard'.
>> main script: line 7: error: unsupported sieve capability 'redirect'.
>
> These don't need to be "require"d.
>
>> Since this is a global script, I figured I need to add a header or flag
>> to
>> the message then detect it and avoid a loop condition.
>
> I think MTAs are pretty good at catching loops nowadays.
>
So this is pretty common ... forking messages to users on the same server
using a global script that will get hit again when the forks arrive? I
hesitate to test because I've previously experienced loops with a
Sendmail/Procmail setup that brought my (remote) server to its knees. (I'm
now using Postfix v.2.5.5.)
If it's cool, though, I'm going to start here with my recipe writing:
if header :contains "Subject" "List Title" {
redirect ["enduser1 at example.com","enduser2 at example.com"];
discard;
stop;
}
Thanks, again.
James
More information about the dovecot
mailing list