Re: [exim] changing subject

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nazım Avcı
Dátum:  
Címzett: 'Magnus Holmgren', exim-users
Tárgy: Re: [exim] changing subject

That's enough, thanks...

Nazım

-----Original Message-----
From: Magnus Holmgren [mailto:holmgren@lysator.liu.se]
Sent: Thursday, March 01, 2007 7:35 PM
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