Re: [exim] filter "mail" and envelope "from"

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Phil Pennock
Date:  
À: WJCarpenter
CC: exim-users
Sujet: Re: [exim] filter "mail" and envelope "from"
On 2010-12-23 at 00:47 -0800, WJCarpenter wrote:
> For the first time (I think), I'm putting some "mail" commands into an
> exim filter file (personal, not system). Until now, I've always used
> "deliver". Whenever I do "mail", the envelope sender is empty. This
> matters because the place I'm trying to "mail" to discards them (I
> reckon because it assumes they are bounce notifications).
>
> Have I overlooked something? I've been thumbing through the Exim book
> and the filter spec for a while. I think the envelope sender address is
> empty because that's what the autoreply transport does. Is there any
> way around that? Or, do others handle this a different way?


filter.txt, 3.14:
----------------------------8< cut here >8------------------------------
To help prevent runaway message sequences, these commands have no effect when
the incoming message is a bounce (delivery error) message, and messages sent by
this means are treated as if they were reporting delivery errors. Thus, they
should never themselves cause a bounce message to be returned. The basic
mail-sending command is
----------------------------8< cut here >8------------------------------

You haven't overlooked anything, this is hard-coded and doesn't have an
option to change it. There's another approach though.

How about a Sieve script with a "redirect" and another action too?
Probably "keep".

-Phil