2

Background
I am looking for plugins for Dovecot (specifically authentication plugins) because I would like to look at source code for reference as to how to make an authentication plugin for Dovecot.

I have search through the official list on the Dovecot website as well as a Google search for a list of plugins available. Unfortunately I haven't been able to find anything that fits what I am looking for.

Questions
Are there more plugins available than in the official list?
Where can I find these plugins?
Are there any authentication plugins available for Dovecot?

I am looking for a response that answers all of the questions above.

Thank you for your assistance.

  • Can you use PAM? – ghoti Apr 7 '14 at 2:32
  • I was actually just looking up information on that and it looks like PAM is the best option. – Dodzi Dzakuma Apr 7 '14 at 2:33
  • Great, I'll make it an answer. – ghoti Apr 7 '14 at 2:41
2

Pluggable Authentication Modules are probably the way to go. Dovecot has its own documentation on integration with PAM.

The exact list of plugins available depends on your platform -- I use FreeBSD, but you may use Linux.

I would say that there is probably not an exhaustive list of PAM plugins, but each OS or distro will have a list of plugins that it includes or supports. Others may be portable with a little effort.

  • More sensible advice than editing the source directly. Would it be possible to get some information on the settings needed to add the new pam service to the Dovecot authentication list? I already have information as to how to make the binary, so I won't be needing that. rkeene.org/projects/info/wiki/222 Thanks for your help! – Dodzi Dzakuma Apr 7 '14 at 2:44
  • Dovecot's QuickConfiguration page has some sample PAM configuration for you, and I believe the second link in my answer points to where this is configured within Dovecot. The location of configuration files will depend on your OS or distro. And you're very welcome! :) – ghoti Apr 7 '14 at 2:50
  • I'll check out the information on the page and get back to you once it has been confirmed. – Dodzi Dzakuma Apr 7 '14 at 2:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.