net-im/prosody and SASL authentication

Victor Sudakov vas at
Sun Mar 8 17:37:41 UTC 2020

Dear Colleagues,

Has anyone been successful in configuring SASL authentication in
net-im/prosody? The desired result is that when I add a Unix user, this
user should be able to login to Jabber automatically without adding a separate
Jabber account (I use this feature in ejabberd).

I've configured SASL auth in prosody.cfg.lua according to the
documentation, but all I get is

Mar 09 00:16:36 modulemanager   error   Unable to load module 'sasl_cyrus': /usr/local/lib/prosody/modules/mod_sasl_cyrus.lua: No such file or directory
Mar 09 00:16:36 modulemanager   error   Error initializing module 'auth_cyrus' on '': /usr/local/lib/prosody/util/startup.lua:145: module 'cyrussasl' not found:
        no field package.preload['cyrussasl']
        no file '/usr/local/lib/prosody/cyrussasl.lua'
        no file '/usr/local/share/lua/5.2/cyrussasl.lua'
        no file '/usr/local/share/lua/5.2/cyrussasl/init.lua'
        no file '/usr/local/lib/lua/5.2/cyrussasl.lua'
        no file '/usr/local/lib/lua/5.2/cyrussasl/init.lua'
        no file '/usr/local/lib/prosody/'
        no file '/usr/local/lib/lua/5.2/'
        no file '/usr/local/lib/lua/5.2/'

I guess lua is missing the "cyrussasl" library but where do I get it? I
could not find one in the ports. Nor does the net-im/prosody port have any
configurable options to enable saslauthd support.

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <>

More information about the freebsd-questions mailing list