Re: [exim] [Newbie] Using To: header to replace envelope rec…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Peter Bowyer
Data:  
Para: Exim, Users
Assunto: Re: [exim] [Newbie] Using To: header to replace envelope recipient?
On 13/10/06, jpetry@??? <jpetry@???> wrote:
> jpetry@??? wrote:
> > All mail for addresses at foo.com is sent to foomail@??? by
> > the DNS provider.
> >
> > The To: headers are preserved in the messages.
> >
> > Is it possible to extract the local part from the To: header
> > and use it for delivery?
> >
> > i.e.
> >
> > fred@??? would arrive as foomail@???
> > and be delivered to fred@???.
> >
> > bob@??? would arrive as foomail@???
> > and be delivered to bob@???.
>
> I am assuming at the moment that there is just one address
> in the To: header.
>
> Given that, I have added a .forward file to the foomail
> account:
>
> # Exim filter
> deliver "$header_to"


What would happen if this account received a message from this list
(merely as an example)?

There be dragons, re-forming envelopes from headers - see 'fetchmail' .....

Peter

--
Peter Bowyer
Email: peter@???