extend subject with sieve - script possible?

Edward Rudd eddie at omegaware.com
Thu Apr 10 15:30:19 EDT 2003


I'm assuming you are using spamassasin, if so have SpamAssassin modify
the subject line.
Add this to the /etc/mail/spamassassin/local.cf

rewrite_subject 1
subject_tag [SPAM]

On Thu, 2003-04-10 at 08:24, Patrick Näf wrote:
> Hello Rob
> 
> Thank you for your answer.
> Do you know an other solution for this problem?
> 
> greetings from switzerland
> 
> Patrick
> 
> Rob Siemborski wrote:
> 
> >No, sieve is read-only (except for setting flags) on the messages it
> >processes.
> >
> >-Rob
> >
> >On Wed, 9 Apr 2003, [ISO-8859-1] Patrick Näf wrote:
> >
> >  
> >
> >>Hello
> >>
> >>Is it possible to manipulate the subject - header with a sieve script?
> >>I have a script like this:
> >>if header :contains :comparator "i;octet" "X-Spam-Status"
> >>   "Yes" {
> >>      ????
> >>   }
> >>
> >>Now I want to extend the subject, if there is spam in the mail.
> >>
> >>Thank you for your help
> >>
> >>Patrick
> >>
> >>
> >>
> >>
> >>    
> >>
> >
> >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> >Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
> >Research Systems Programmer * /usr/contributed Gatekeeper
> >
> >
> >  
> >
-- 
Edward Rudd <eddie at omegaware.com>





More information about the Info-cyrus mailing list