delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/05/15:59:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: SMTP AUTH with exim
Date: Fri, 5 Sep 2003 21:58:54 +0200
Message-ID: <AC6898F1C1D281428FA98B3618FE42020194B7C2@xchg2>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Koch, Peter" <peter DOT koch AT schlund DOT de>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h85JxPMO013385

Hi all,
I've got exim working with cygwin correctly so far, even with SMTP AUTH.
Here are my 'authenticators':
plain:
     driver = plaintext
     public_name = PLAIN
     server_prompts = :
        server_condition = "\
        ${if and {{!eq{$2}{}}{!eq{$3}{}} \
        {eq{$3}{${extract{1}{:} \
 
{${lookup{$2}lsearch{/etc/exim.passwd}{$value}{*:*}}}}}}}{1}{0}}"
     server_set_id = $2

login:
	driver = plaintext
  	public_name = LOGIN
  	server_prompts = "Username:: : Password::"
        server_condition = "\
          ${if and {{!eq{$1}{}}{!eq{$2}{}} \
          {eq{$2}{${extract{1}{:} \
 
{${lookup{$1}lsearch{/etc/exim.passwd}{$value}{*:*}}}}}}}{1}{0}}"
  	server_set_id = $1

Like this, auth uses the file '/etc/exim.passwd' for authentication
data.

Here goes my question: How would these authenticators have to look if I
wanted to use the Windows User database for authentication instead?

Gruss,
--------------------------------------------
Peter 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019