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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20211210/9138ade6/attachment.htm>
Aki Tuomi
2022-Jan-05 08:49 UTC
how to delete attachment and replace some words in subject
> 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