Re: [Exim] $domain in server_condition

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Eyal Marantenboim
CC: exim-users
Assunto: Re: [Exim] $domain in server_condition
On Mon, 15 Jan 2001, Eyal Marantenboim wrote:

> I had some problems trying to authenticate my smtp
> connections with PLAINTEXT:
> we are using virtual hosts to authenticate, and I have
> 1 passwd file for each virtual domain.
> Im trying to use server_condition with the domain of
> the Username who is trying to send the mail.
> Is there any variable from which I can take that info?


I don't really understand the question. The data that is sent using
PLAIN or LOGIN authentication usually consists of a user name and a
password. There is no domain. So I don't understand what domain you are
talking about.

Of course, if you configure the client to send "xxx@yyy" as a "username"
you can pick out the yyy using ${domain:$2} or whatever.

In case you have misunderstood, authentication happens from the client
host before it attempts to send any mail.

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