[Dovecot] change subject with dovecot+sieve

Stephan Bosch stephan at rename-it.nl
Tue Nov 23 23:19:57 EET 2010


On 11/23/2010 6:24 PM, Timo Sirainen wrote:
> On Tue, 2010-11-23 at 18:05 +0100, Esteban Torres Rodríguez wrote:
>> I'm using to make the filter sieve and would like to reject filter and
>> change the subject of emails that filter.
>>
>> I have created the filter and it works correctly, but reject comes with the
>> following subject: "Mail Delivery Subsystem"
>>
>> How I can do?
> You didn't mention what Dovecot version. That should be the From: field.
> Depending on what Sieve you use the Subject: should be different.
>
> But anyway.. looking at the current Pigeonhole code, it doesn't look
> like it uses LDA's rejection_subject or rejection_reason settings at
> all. Stephan, can you add support for those? Or is there a reason why
> you can't use mail_send_rejection()? Maybe those APIs could be changed
> to avoid all of this code duplication..
It's high up on my TODO list actually in conjunction with providing 
ereject support.

Regards,

Stephan.



More information about the dovecot mailing list