Quoth Philip Hazel on Fri, Oct 09, 1998:
> On Fri, 9 Oct 1998, Vadim Vygonets wrote:
> > You can use the exim filter "pipe" command to pipe the e-mail
> > message to a simple perl script which will do
> > s/^(Subject:.+)\[EXIM\]\s*/$1/;
> > the first time it sees it and save the message to your mailbox.
>
> Watch out! If you do this, you will have to take precautions to lock
> your mailbox between simultaneous invocations of this script.
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?
I haven't seen such mechanism. Not in the exim filter. Correct
me if I'm wrong.
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.
Vadik.
--
It was state of the art, he said.
The art in this case was probably pottery.
-- Terry Pratchett and Neil Gaiman, "Good Omens"
--
*** Exim information can be found at
http://www.exim.org/ ***