🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.mail.mta
Article #50268

Re: exim + autoryzacja sasl & mysql

#50268
From: Prezes
Date: Wed, 14 Feb 2007 18:32
21 lines
1544 bytes
Rafal Kupka wrote:
> server_condition = \
>   ${if saslauthd{{$2}{$3}}{1}{\
>     ${if and {\
>       {!eq{$2}{}}{!eq{$3}{}}\
>       {crypteq{$3}{${lookup mysql{<tutaj SQL>}{$value}fail}}}\
>     }{1}{0}}\
>   }}
>

fajnie to dziala
ale mam jeszcze pytanie czy mozliwe jest zrobic tak ze user logujes sie
podajac login@domena i swoje haslo natomiast exim rodziela login i domene i
na taj podstawie wybiera z bazy zapytaniem haslo na podstawie tych 2
zmiennych?

-- 
Krzysztof 'Prezes' Kulesza
Administrator ASK WilgNET
prezes(at)wilgnet.gliwice.pl
GG #1197623 ICQ #124792121 Linux Registered User #302368
Technical Details
Message-ID: <eqvkk6$drr$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
References: <eqvafa$b5c$1@news.onet.pl> <slrnet6j8f.h4i.kupson@utemp.mieszkanie>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
From: "Prezes" <prezes@wilgnet.gliwice.tnijto.pl>
Newsgroups: pl.comp.mail.mta
Subject: Re: exim + autoryzacja sasl & mysql
Date: Wed, 14 Feb 2007 19:32:29 +0100
Organization: Onet.pl
Lines: 23
Message-ID: <eqvkk6$drr$1@news.onet.pl>
References: <eqvafa$b5c$1@news.onet.pl> <slrnet6j8f.h4i.kupson@utemp.mieszkanie>
NNTP-Posting-Host: prezes.wilgnet.gliwice.pl
X-Trace: news.onet.pl 1171477958 14203 193.17.54.138 (14 Feb 2007 18:32:38 GMT)
X-Complaints-To: usenet@news.onet.pl
NNTP-Posting-Date: Wed, 14 Feb 2007 18:32:38 +0000 (UTC)
X-Sender: w5/+KroUinhfOSRQ2vDS2b+KuiSAjM7g
X-Newsreader: Microsoft Outlook Express 6.00.2800.1807
X-Priority: 3
X-MSMail-Priority: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1896
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit