[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" This is working, but I would like to do this in the Exim configure file if at all possible. Best Wishes, James -- ## 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/
