Re: [Exim] SMTP AUTH

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: David Saez Padros
CC: exim-users
Subject: Re: [Exim] SMTP AUTH
On Wed, 1 Aug 2001, David Saez Padros wrote:

> Is $local_domain usable in authenticators ??


There is no variable called $local_domain. I take it you mean either
$local_part or $domain.

Think about it. When are authenticators run?

Answer 1 - on an Exim server: when a client connects and wants to
authenticate, _before_ sending a message. So what value would you expect
to be in $local_part or $domain?

Answer 2 - on an Exim client: when connecting to a remote host do do an
SMTP delivery, possibly with more than one recipient address. In this
case, it's the same as any other delivery - if all addresses are in the
same domain, $domain is set, and if there is only one address,
$local_part is set. Otherwise they are not set.

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