[Dovecot] Work with auth socket

Неворотин Вадим nevorotin at gmail.com
Tue Jun 29 17:15:39 EEST 2010


Yes, but this module doesn't work with my dovecot)) So I've tried to
manually debug it - and it really does not work and has an error somewhere.

Dovecot 1.2.10 from Debian backports.


2010/6/29 Anton Dollmaier <antondollmaier at aditsystems.de>

> Hi,
>
>
>
>  I've wrote such script:
>>
>
> use Authen::SASL::Authd, as suggested by Steffen.
>
> This code-snippet should help you:
>
>
>
>> http://search.cpan.org/~sasha/Authen-SASL-Authd-0.04/lib/Authen/SASL/Authd.pm
>>
>
>
>  #!/usr/bin/perl
>> use Authen::SASL::Authd qw(auth_cyrus auth_dovecot);
>>
>> $login = "test";
>> $passwd = "test";
>>
>> # authenticate user against Dovecot authentication daemon
>> auth_dovecot('login', 'passwd') or die "dovecot-auth: FAIL";
>>
>
> I realized a monitoring-script with this snippet, works great.
>
>
> good luck!
>


More information about the dovecot mailing list