Re: [exim] changing subject

Top Page
Delete this message
Reply to this message
Author: Magnus Holmgren
Date:  
To: exim-users
CC: Nazım Avcı
Subject: Re: [exim] changing subject
On Thursday 01 March 2007 12:18, Nazım Avcı wrote:
> I want to change email sub. If subject is "xxx yyy", i want to do it "xxx"
> . Is it possible?


It is possible. When/where do you want to change it? Here's how you can do it
in the system filter, I think:

  if $h_Subject: matches "(.*) yyy\\$" then
     headers remove Subject
     headers add "Subject: $1"
  endif


(With reservation regarding the number of backslashes.)

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans