Re: [exim] Received for header not added to subsequant local…

Pàgina inicial
Delete this message
Reply to this message
Autor: krakastan
Data:  
A: exim-users
Assumpte: Re: [exim] Received for header not added to subsequant local addreses
appologies for incorrect/unclear terms - perhaps i mean internal and
external delivery.....
thank your for your comments - i will try to digest and work through your
suggestions

in the meantime to clarify (i hope!)....
I have domain1.com, domain2.com and domain3.com on the same server

address1@???  is redirected to address2@??? s
redirected to address3@???

The email is delivered to address3@??? has no reference to
address2@??? in the headers

BUT IF

domain2.com is hosted on a different server the email delivered to
address3@??? includes reference to address1 and address2

hope this clarifies...

Quoting Todd Lyons <tlyons@???>:

> On Wed, Oct 8, 2014 at 5:34 AM, krakastan <eximusers.list@???>

wrote:
>> how would i add a header for each received email to include the

recipient
>> of the email ( not necessarily the To/cc etc, but rather the actual
>> delivery address), when the email is a local delivery
>> or
>
> In your router which handles the local delivery:
> headers_add = X-Delivered-To: $local_part@$domain
>
> Then you always know that header will indicate who your mail server
> thought it was delivering mail for.
>
>> how would i make emails for local delivery go via the smtp route.
>
> The question doesn't make sense.&nbsp; Local delivery means NOT using
> smtp.
> The only instance I can think of that doesn't apply is if you have
> front end mail servers which handle spam/virus scanning, and backend
> mail servers which actually have storage for the users' Maildir's.
> But even then, you'd typically use LMTP instead of SMTP to get from
> the frontend to the backend.
>
>> Is there another option to achieve have the "delivery address" added to

a
>> header for local emails
>> basically - I need a way to track the email routing.
>
> I don't understand the question I guess.&nbsp; This is the Received

header
> for an email that was delivered locally from an external source:
>
> Received: from exprod7og114.obsmtp.com ([64.18.2.215]
> helo=mail-qg0-f43.google.com)
> &nbsp; &nbsp; &nbsp; &nbsp;by m.ivenue.com with smtp (Exim 4.84)
> &nbsp; &nbsp; &nbsp; &nbsp;(envelope-from <harestad@???>)
> &nbsp; &nbsp; &nbsp; &nbsp;id 1XR2F0-0002l3-Op
> &nbsp; &nbsp; &nbsp; &nbsp;for nina@???; Mon, 08 Sep 2014
> 16:56:39 +0000
>
> This header says quite plainly who the email was destined for.&nbsp; What
> use case do you have that the above information is not accurate or
> sufficient?
>
> ...Todd
> --
> The total budget at all receivers for solving senders' problems is $0.
> If you want them to accept your mail and manage it the way you want,send
> it the way the spec says to. --John Levine