🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

exim + autoryzacja sasl & mysql

#50266
From: Prezes
Date: Wed, 14 Feb 2007 15:39
24 lines
1656 bytes
 witam
czy tos z grupowiczow nie wie jak w eximie zrobic autoryzacje ktora zarowno
potrafilaby autoryzowac uzytkownikow systemowych (za pomoca saslauthd) i
virtualnych (z mysql)

mam takie regolki do autoryzacji i problem jest taki ze obie dzialaja
pojedynczo ale nie wiem jak to polaczyc zeby dzialala autoryzacja na 2
fronty

#saslauthd
server_condition = ${if saslauthd{{$2}{$3}}{1}{0}}

#mysql
server_condition = ${if and {{!eq{$2}{}}{!eq{$3}{}}{crypteq{$3}{${lookup
mysql{SELECT password FROM mailbox WHERE name='$2'}{$value}fail}}}}{1}{0}}

PS. czy istnieje jakas metoda polaczenia exima z antywirem firmy avira
www.avira.com

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

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news2.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
From: "Prezes" <prezes@wilgnet.gliwice.tnijto.pl>
Newsgroups: pl.comp.mail.mta
Subject: exim + autoryzacja sasl & mysql
Date: Wed, 14 Feb 2007 16:39:22 +0100
Organization: Onet.pl
Lines: 26
Message-ID: <eqvafa$b5c$1@news.onet.pl>
NNTP-Posting-Host: prezes.wilgnet.gliwice.pl
X-Trace: news.onet.pl 1171467562 11436 193.17.54.138 (14 Feb 2007 15:39:22 GMT)
X-Complaints-To: usenet@news.onet.pl
NNTP-Posting-Date: Wed, 14 Feb 2007 15:39:22 +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