Re: [exim] help with authenticators.

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Fred C
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] help with authenticators.

Everything works like a charm now. Thanks for your help

-fred-


On Mar 16, 2008, at 12:24 AM, Phil Pennock wrote:

> On 2008-03-15 at 22:54 -0700, Fred C wrote:
>> I have this authenticator which take the full email address as
>> login. I use the domain name as a key for my lookup. All the
>> authentication process works fine but the variable authenticated_id
>> is
>> "qualified", and quotes are added by exim.
>
> This is part of the submission fixups, changeable with the submission
> controls in the ACLs.
>
>> Ex: "fred@???
>
> The relevant bits in the docs are:
> 44.1 Submission mode for non-local messages
> 44.11 The From: header line
> 44.16 The Sender: header line
>
> You want:
> control = submission/domain=
>
> This belongs in the RCPT-checking ACL, on an authenticated=*  
> evaluation.
> Eg,
>  warn    authenticated = *
>          control       = submission/domain=
> or with "accept" instead of warn; if you already have an
>  accept authenticated = *
> line somewhere (you probably do) then just add the one control line
> immediately after that.

>
> This assumes that the authenticated id is _always_ domain
> qualified. If
> it isn't, then you can split up the ACL into multiple parts; in the
> "authenticated = *" rule, the * is matching the name of the
> authenticator so you can have different controls depending upon the
> authenticator. If things aren't that clean-cut, then you're into
> using
> a "condition = ..." line with a string expansion based on, eg,
> $authenticated_id.
>
> Regards,
> -Phil
>


--
Fred C!
PGP-KeyID: E7EA02EC3B487EE9
PGP-FingerPrint: A906101E2CCDBB18D7BD09AEE7EA02EC3B487EE9