[Exim] SMTP Authentication using virtual domains

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Terry Shows
Date:  
À: exim-users
Sujet: [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>