Networking Forums

Networking Forums > Computer Networking > Linux Networking > exim auth database and system

Reply
Thread Tools Display Modes

exim auth database and system

 
 
SaPeR
Guest
Posts: n/a

 
      12-20-2003, 12:46 PM
i have got exim compiled with postgresql on debian;
in exim.conf:

auth_plain:
driver = plaintext
public_name = PLAIN
server_condition = ${lookup pgsql{SELECT user_idnr FROM users \
WHERE userid = '${quote_pgsql:$2}' AND passwd = '${quote_pgsql:$3}'}}
server_set_id = $2

auth_login:
driver = plaintext
public_name = LOGIN
server_condition = ${lookup pgsql{SELECT user_idnr FROM users \
WHERE userid = '${quote_pgsql:$1}' AND passwd = '${quote_pgsql:$2}'}}
server_prompts = "Username:: : Password::"
server_set_id = $1

auth_cram_md5:
driver = cram_md5
public_name = CRAM-MD5
server_secret = ${lookup pgsql{SELECT passwd FROM users \
WHERE userid = '${quote_pgsql:$1}'}{$value}fail}
server_set_id = $1

i am wondering how should i connect (what should i add) to server_condition
to check also usernames and password that are in system
(for ex how to add this: this server_condition = "${if pam{$2:$3}{1}{0}}") ???

SaPeR

--
|---------------------------|
|---- saper0 (at) o2.pl ----|
|saper (at) void.univ.gda.pl|
|***************************|
|--http://void.univ.gda.pl--|
|---------------------------|
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Output DHCP database to SQL database? =?Utf-8?B?Q2hyaXN0aWFuV2lja2hhbQ==?= Windows Networking 1 01-26-2005 01:32 PM
EXIM Mail server issue Dragos Ionita Linux Networking 2 09-24-2004 05:33 PM
exim: local delivery trouble rel Linux Networking 3 09-06-2004 09:17 PM
configuring exim in debian Michael Powe Linux Networking 2 01-12-2004 07:00 AM
Re: exim and aliases file in gentoo SaPeR Linux Networking 0 06-23-2003 08:54 PM



1 2 3 4 5 6 7 8 9 10 11