Re: [exim] Remove Tags from Subject

Page principale
Supprimer ce message
Répondre à ce message
Auteur: JAS
Date:  
À: justin
CC: exim-users
Sujet: Re: [exim] Remove Tags from Subject
I am not using spam assassin, this is being marked by a different system
then sending it to mine. I figured out how to add stuff to the subject
but, removing proves to be more difficult.
I was thinking maybe somehow piping it, e.g. echo "[SPAM] this is spam"
| sed -e 's/\[SPAM\]//'

Removes [SPAM] just fine.

justin@??? wrote:

> JAS wrote:
>
>> I would like to be able to remove tags from a subject line.
>> "[SPAM]this is spam". I would like to remove the [SPAM] so the line
>> reads "this is spam" Can exim do this?
>
>
> If you're running SpamAssassin, just change the local.cf and comment
> out the line that is similar to:
>
> rewrite_header Subject [SPAM]
>
>
>