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?" -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3300 bytes Desc: S/MIME Cryptographic Signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20060112/c580729e/attachment.bin>
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. http://www.bincimap.org/ Claudio -- Claudio Succa PERTEL - Torino - Italy +39-011-437.4141 http://www.pertel.it http://www.uniassist.it
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.. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060114/3e6fd3e7/attachment.bin>