[Dovecot] Auth protocol and Perl
Hi,
does anyone have at working Perl example of how to use the auth protocol with Perl (I'm planing on making a dovecot auth plugin for qpsmtpd but it would a lot easier to reuse somebody elses code :))
tia,
Allan Joergensen - http://nowhere.dk/ "All right, so it's impossible. How long will it take?"
13:42, giovedì 12 gennaio 2006 - Allan Joergensen scrive: |> Hi, |> |> does anyone have at working Perl example of how to use the auth protocol |> with Perl (I'm planing on making a dovecot auth plugin for qpsmtpd but |> it would a lot easier to reuse somebody elses code :))
Binc IMAP runs a perl script to check authentication. You can download the tarball at http://www.bincimap.org/dl/tarballs/1.3/. The script is scripts/checkpassword.pl.
Claudio
-- Claudio Succa PERTEL - Torino - Italy +39-011-437.4141 http://www.pertel.it http://www.uniassist.it
Claudio Succa wrote:
|> does anyone have at working Perl example of how to use the auth protocol |> with Perl (I'm planing on making a dovecot auth plugin for qpsmtpd but |> it would a lot easier to reuse somebody elses code :)) Binc IMAP runs a perl script to check authentication. You can download the tarball at http://www.bincimap.org/dl/tarballs/1.3/. The script is scripts/checkpassword.pl.
What I need is an example of how to use the Dovecot auth protocol with Perl.
-- Allan Joergensen - http://nowhere.dk/ "All right, so it's impossible. How long will it take?"
On Thu, 2006-01-12 at 13:42 +0100, Allan Joergensen wrote:
Hi,
does anyone have at working Perl example of how to use the auth protocol with Perl (I'm planing on making a dovecot auth plugin for qpsmtpd but it would a lot easier to reuse somebody elses code :))
I don't know for Perl, but looking at latest Postfix 2.3 snapshot's Dovecot SMTP AUTH code (src/xsasl/xsasl_dovecot_server.c) might be helpful for just seeing the logic. Although I suppose the logic should be pretty understandable from the auth-protocol.txt too..
participants (3)
-
Allan Joergensen
-
Claudio Succa
-
Timo Sirainen