On 13/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > All mail for addresses at foo.com is sent to [EMAIL PROTECTED] 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.
> >
> > [EMAIL PROTECTED] would arrive as [EMAIL PROTECTED]
> > and be delivered to [EMAIL PROTECTED]
> >
> > [EMAIL PROTECTED] would arrive as [EMAIL PROTECTED]
> > and be delivered to [EMAIL PROTECTED]
>
> 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: [EMAIL PROTECTED]

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to