ejabberd external authentication with dovecot and perl
I wrote an external auth script for ejabberd that authenticates users against dovecot's SASL.
You can download it here.
This scripts works with
Dovecot version 1.2.15
ejabberd version 2.1.5
and Perl 5.10.1 but it should work with newer versions, too.
Anything you need to know to get it running can be read inside the comments in the perl script.