Re: [Exim] $domain in server_condition

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Eyal Marantenboim
Dátum:  
Címzett: Philip Hazel
CC: exim-users
Tárgy: Re: [Exim] $domain in server_condition
In my server condition I have
....lsearch{/etc/virtual/${domain:$2}/passwd}....

In the log I get this msg while authenticating:
.
.
search_open: lsearch "/etc/virtual//passwd"
search_find: file="/etc/virtual//passwd"
key="xxx@yyy" partial = -1
LRU list:
7/etc/virtual//passwd
7/etc/virtual/domains
End
internal_search_find: file="/etc/virtual//passwd"
type=lsearch key="xxx@yyy"
file lookup required for xxx@yyy
in /etc/virtual//passwd
lookup failed
login authenticator:
$1 = xxx@yyy
$2 = xxxxx
.
.

-------- END LOG -----
how you can see in the search_fine file, ${domain:$2}
is blank.
I really sorry about my english, but I do the best I
can :))

thanks in advance,
Eyal.

--- Philip Hazel <ph10@???> escribió: > 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.

>



=====
------------------------------

No Nos Olvidemos de Cabezas!!!!

Eyal Marantenboim
eyalm3@???

_________________________________________________________
Do You Yahoo!?
Conseguí tu dirección de correo-e gratis @yahoo.com.ar
en http://correo.yahoo.com.ar