Re: [Exim] where/how to place authenticated sender info

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Tamas TEVESZ
CC: exim-users
Subject: Re: [Exim] where/how to place authenticated sender info
On Fri, 14 Dec 2001, Tamas TEVESZ wrote:

> first question: which is 'better', using "if def:authenticated_id" or
> using "if eq{received_protocol}{asmtp}" ? both forms produces the same
> result, as far as i know now.


Remember that $authenticated_id is also set to the login of the caller
for a non-SMTP message. $received_protocol is set to asmtp only for
incoming, authenticated SMTP messages.

> second question: shall i be putting the auth sender information in the
> received headers as above, or introduce a (say)
> X-Authenticated-Sender: header, and put it there ? the main pro is
> the amount of work required (as adding a new X-header should be done
> in almost all of the transports), no cons i can think of.


Since the authentication applies only to the single SMTP "hop", my view
would be that you should put it in Received.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.