[EXIM] How to remove string in subject?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Frederick Page
Datum:  
To: exim-users
Betreff: [EXIM] How to remove string in subject?
Hi *

I already read the fine manual, but still am unsure about how to
remove the string "[Debian]: " (without quotes) from a subject header
line. The following filter-file finds the string within the subject,
but how do I replace the match with nothing (eliminate matching
string)?

if
$header_Subject: matches "\\[Debian\\]: "
then
testprint "subject=$header_Subject:"
endif

Thanks and kind regards

Frederick

--
registered linux user # 107970 (http://counter.li.org)


--
*** Exim information can be found at http://www.exim.org/ ***