[exim] Variables in Exim

Pàgina inicial
Delete this message
Reply to this message
Autor: Sachin Sharma
Data:  
A: exim-users
Assumpte: [exim] Variables in Exim
Hi,

Is there any way for using variables into exim filter or into
configuratuin file ? Like i need to rewrite Subject for a mail. I want
to save Subject into Variable, then remove and then want to insert
subject with [SPAM] tag.

I done this by a diffrent way,

First, Saved Subject into new header X-Subject
Second, Removed Subject header
Third, Added Subject with [SPAM] tag

This is wrking perfectly well and a temporary header is used in place of
variable. However i m looking for usage of any variable (Quick Way)
rather with tempraory header !!

if $message_headers contains "X-DSPAM-Result:"
then
headers add "X-Subject: $h_subject"
headers remove Subject
headers add "Subject: [SPAM] $h_X-Subject"
unseen
endif

Please help !! Thanks


--
Sachin Sharma
Sr. Engineer Systems (Linux)
Net4India Ltd.

D-25
Sector 3
Noida-201301
INDIA

Tel: 0120-5323500
Fax: 0120-5323520
URL: http://www.net4.in
------------------------------------------------------------------------
This message may contain confidential and/or privileged information. If
you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose or take any action based on
this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation.
------------------------------------------------------------------------