Re: How to remove the [EXIM] from the subject?

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Vadim Vygonets
CC: exim-users
Subject: Re: How to remove the [EXIM] from the subject?
On Fri, 9 Oct 1998, Vadim Vygonets wrote:

> True. But is there any way to filter the message through a
> program and get it back into exim filter, so the exim filter will
> do something to the message (save, mail, rip its head off) later?


No. The filter is not doing anything with the message. It is merely
*deciding* what to do with the message. The entire filter runs and makes
a list of things to do before any of them are done. So you can't
predicate its behaviour on what happens when you run an external
program. If you want to do that you really to have to send it to a pipe
and do things outside Exim. Procmail is one way of handling this.

> So it seems that making a perlish filter and worrying about
> locking is the way to go. On the other hand, the perl script may
> then pass this message to procmail for real delivery with locks
> and stuff.


That might well be the safest way to do it. Or you could use the new
exim_lock utility.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



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