Re: [Exim] X-Authenticated-Sender i SMTP Auth

Góra strony
Delete this message
Reply to this message
Autor: Mike Richardson
Data:  
Dla: Tamas TEVESZ
CC: Sebastian Sawicki, exim-users
Temat: Re: [Exim] X-Authenticated-Sender i SMTP Auth
On Fri, Jun 07, 2002 at 03:14:24PM +0200, Tamas TEVESZ wrote:
> On Fri, 7 Jun 2002, Sebastian Sawicki wrote:
>
> > headers_add = "X-Authenticated-Sender: ${authenticated_sender}\n \
> > X-Authenticated-id: ${authenticated_id}"
>
> oops, i think i spoke too soon :) didn't notice that second line,
> sorry.
>
> i do it (with headers_add, in the transport) as:
>
> headers_add = "${if def:authenticated_id{X-Authenticated-Sender:
> ${md5:${authenticated_id}${message_id}ASMTP_HEADER_SECRET}}}"
>
> (again, wrapped). works fine here... (well, worked, when this
> particular box had auth turned on :).


We look up the authenticated_id in our LDAP tree and add a couple of
headers of the form:

X-Authenticated-Sender: Buffy A Summers, Buffy Summers from slayer.mcc.ac.uk (slayer) [130.88.201.256]
X-Authenticated-From: buffy.summers@???

which gives all the info which ought to be in a legit email but nothing
else.

Mike
--
-----Plain text only please - attachments stripped on arrival.------
Copyright 2002       Mike Richardson, Room G98, Manchester Computing
University of Manchester, M13 9PL     doctor@???    Int: 56009
Left through main doors.         Right then left at end of corridor.
First door on left.   URL http://kira.mcc.ac.uk/  Ext: 0161 275 6009
--------------------------------------------------------------------
"If I want your opinion, I'll beat it out of you!" - Chuck Norris
"If anything happens to my daughter I have a 45 and shovel" Clueless