Re: [exim] unseen deliver with with different subjects

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: N. T.
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] unseen deliver with with different subjects
Hi, thanks to spend some time with newbie like me :-)

I'm sorry but I didn't understand what you mean in your last sentence...
What do you mean by doing something in " a more final delivery process" ?

What's for you the "mail subsystem" ?

Because I also tried to use such command as "seen mail ...."
But, we didn't manage to copy a clean body...
the $message_body variable trim the return carriage and the body can be truncated
and the "return message" send SMTP headers as clear text...

Is that what you were thinking ?

cheers,

Nicolas


> De: Matthew Byng-Maddick <exim@???>
> A: exim-users@???
> Objet: Re: [exim] unseen deliver with with different subjects
> Date: Tue, 15 Nov 2005 15:54:32 +0000


> On Tue, Nov 15, 2005 at 03:43:22PM +0000, N. T. wrote:
> > Hi,
> >
> > I'm trying to apply an exim filter to send one mail to two different
> adresses but with different subjects
> > My filter looks like this :
> > if $h_Cc: contains "@" and $h_subject: matches "([0-9a-zA-Z ,!]*)
> (<([0-9]*)>) (<token>) (\[[0-9]+\])" then
> > headers remove subject
> > headers add "Subject: <ref$3> $1"
> > unseen deliver $h_Cc:
> > headers remove subject
> > headers add "Subject: $1 $2 $4 $5"
> > headers remove cc
> > endif
> >
> > I was expecting that the mail sent to $h_Cc: contains the subject
> "<ref$3> $1", but unfortunnately it's the second one ("$1 $2 $4 $5"). Can
> anybody explain me why ?
> >
> > Any help would be really appreciated...
> > Nicolas.
> >
> > PS : I'm running Exim 3.35.
>
> This behaviour hasn't changed significantly between the 3 year old version
> you are running, and the current version (4.54).
>
> The reason that this happens is that the "unseen deliver" tells the filter
> to add this address to the delivery list, not to "deliver it right now".
> When you come to deliver the message, all of the header processing happens,
> and then the message gets delivered to its recipients.
>
> The kind of processing you are talking about is better done as a more final
> delivery process, which could perhaps inject the new messages into the mail
> subsystem.
>
> Cheers
>
> MBM
>
> -- 
> Matthew Byng-Maddick          <mbm@???>           <a
> href=http://colondot.net/>http://colondot.net/</a>                     
> (Please use this address to reply)

>
> --
> ## List details at <a
> href=http://www.exim.org/mailman/listinfo/exim-users>http://www.exim.org/mai
> lman/listinfo/exim-users</a>
> ## Exim details at <a href=http://www.exim.org/>http://www.exim.org/</a>##
> Please use the Wiki with this list - <a
> href=http://www.exim.org/eximwiki/>http://www.exim.org/eximwiki/</a>


Recevez l'Actualité en temps réel par email avec Track'n feed - http://www.tracknfeed.com