Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As stated in the topic, I would like to install the dovecot imapserver, and enable web-access via the roundcube-client. To heighten security when logging in from unsecure machines, I would like to login via One Time Passwords (e.g. OPIE). Would that be possible? Does anyone have experience implementing such a feature into to a webmail client?

share|improve this question
up vote 0 down vote accepted

This tutorial is a bit old, but should a good guide whatever two-factor auth system you choose. To get two-factor authentication working on linux, your best bet is to go through PAM. Point PAM to your two-factor auth server via pam-radius, pam-ldap etc.

There's also a feature request to allow SASL OTP in Roundcube.



share|improve this answer

FYI, there is a One-Time Password plugin for SquirrelMail (OTPs generated in the webmail layer, but can use an optional static prefix deployed via external means).

There is also an authentication plugin that can be configured, amongst other things, to make SquirrelMail SSO-aware (how helpful that is to this question depends on how strong the authentication is for the SSO system).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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