how to delete attachment and replace some words in subject

Aki Tuomi aki.tuomi at open-xchange.com
Wed Jan 5 08:49:18 UTC 2022


> On 10/12/2021 10:08 lujie <lujienew at 163.com> wrote:
> 
> 
> hi, all,
> I need to filter email as follow rules:
> 1, delete the attachments;
> 2, replace some word in subject with code;
> 3, redirect to other email with the modified subject and original text in body.
> 
> sieve and exrprograms used in my script. But error in run sieve script while try to set body text , which contains invalid character "cr lf".
> 
> Thanks.
> 
> 
> --
> Best Regards,
> 
> Jessica
> 

Sieve extprograms is the way to go, can you provide your configuration & scripts so we can maybe see what's going wrong?

Aki


More information about the dovecot mailing list