mod_auth_imap module not loaded?

6 views
Skip to first unread message

Joseph Ward

unread,
Jun 27, 2024, 2:26:43 PMJun 27
to Prosody IM Users

Hi,

I'm attempting to get prosody authentication working with the mod_auth_imap module (https://modules.prosody.im/mod_auth_imap#installation). but it doesn't seem to load.

I'm following my own notes from several years ago where I got it working without any issue, but now I get "


Jun 27 14:12:49 boshf317a57f-6022-432e-b47e-291b5878b840       debug   SASL mechanisms supported by handler:  
Jun 27 14:12:49 boshf317a57f-6022-432e-b47e-291b5878b840        warn    No available SASL mechanisms, verify that the configured authentication module 'imap' is loaded and configured correctly

The authentication config I'm using (and which worked in my previous install) is:

...
VirtualHost "example.com"
        -- enabled = false -- Remove this line to enable this host
        authentication = "imap"
        imap_auth_host = 'mail.example.com'
        imap_auth_port = '993'
        auth_append_host = true
...

I have the mod_auth_imap.lua and the sasl_imap.lib.lua files in my plugins directory which is called out in the prosody config.  (I also tried it in the modules directory, but no success there either).

I'm not seeing any other errors in the log (which is set to debug). 

Any ideas for what my next steps could be?


Thanks!

Joseph

Reply all
Reply to author
Forward
0 new messages