[Exim] SMTP Authentication using virtual domains

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Terry Shows
Data:  
Para: exim-users
Assunto: [Exim] SMTP Authentication using virtual domains
I need a little advice:

I need to have separate authentication password files, based on the domain
that the person is logging in to. My configuration is set up for receiving
to virtual domains right now.

My problem, How does one tell the authentication what domain the user is
logging in to? I have made an attempt to show what I want to do below, but
suspect that it won't be this easy.

Advise (or critism) will be greatly appreciated.


-------------- clip ----------------

authenticate_users:
driver = plaintext
public_name = LOGIN
server_prompts = Username:: : Password::
server_condition = "${if eq
{${lookup{$1}lsearch{/usr/exim/tables/virtual_domains/$domain/passwd}{$value
}fail}} {$2} {yes} {no}}"
server_set_id = $1

---------------- clip -------------------



Thank You

Terry Shows
Computer Software Specialists LLC
terry.shows@??? <mailto:terry.shows@csstn.com>