[exim] re-adding original recipient

Page principale
Supprimer ce message
Répondre à ce message
Auteur: mike
Date:  
À: exim-users
Sujet: [exim] re-adding original recipient
I have a setup as follows

mail for my org is sent to a domain
This is then collected via fetchmail which also collects several other
accounts

finally it is processed by exim

My problem is that I want to add a header signifying which email address
it was sent to, so I can filter it

This is my headers

> Envelope-to: mike@localhost
> Received: from [127.0.0.1] (helo=localhost) by bristolreccc.co.uk with
>         esmtp (Exim 4.43 #1 (Red Hat Linux)) id 1CmAOf-000116-0e for
>         <mike@localhost>; Wed, 05 Jan 2005 12:36:17 +0000
> Received: from bristolreccc.co.uk [216.22.48.98] by localhost with
> POP3
>         (fetchmail-6.2.5) for mike@localhost (single-drop); Wed, 05
> Jan 2005
>         12:36:17 +0000 (GMT)
> Received: from bristolr by cobra.dnsmatrix.co.uk with local-bsmtp
> (Exim
>         4.43) id 1CmAVl-0004Db-J1 for mike@???; Wed, 05
> Jan 2005
>         12:43:41 +0000

>


As you can see the for is altered to localhost by fetchmail

Is there any way for exim to add a header with the original address?