[EXIM] How to remove string in subject?

Top Page
Delete this message
Reply to this message
Author: Frederick Page
Date:  
To: exim-users
Subject: [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/ ***