How to configure Webmail for WiKID Strong authentication
In this document we show you how to configure an IMAP-based Webmail system to use WiKID Strong Authentication.
These instructions will help you use WiKID Strong Authentication with Squirrelmail on Linux. They also apply if you wanted to use two-factor authentication with other webmail systems or for any IMAP client. We also tested WiKID Strong Authentication with Thunderbird!
- First I set up postfix, cyrus and sasl. I followed the instructions on this great how-to: http://nakedape.cc/info/Cyrus-IMAP-HOWTO/quickstart-fedora.html . If you need details on how to set up these three packages, go there or elsewhere. I am including the bare minimum here.
yum install postfix cyrus-imapd cyrus-imapd-utils cyrus-sasl cyrus-sasl-plain perl-Term-ReadLine-Gnu
# Mechanism to use when checking passwords. Run "saslauthd -v" to get a list # of which mechanism your installation was compiled to use. MECH=pam
# testsaslauthd -u useraname -p password 0: OK "Success."
service cyrus-imapd start
$ imtest -a username localhost
service postfix start
#%PAM-1.0 auth required /lib/security/pam_radius_auth.so #auth required pam_stack.so service=system-auth account required /lib/security/pam_radius_auth.so #account required pam_stack.so service=system-auth
# server[:port] shared_secret timeout (s) 127.0.0.1 secret 1 WiKID_serverFQDN server_secret 3
# testsaslauthd -u useraname -p WiKID_OTP
$ imtest -a username localhost
# wget ftp://fr.rpmfind.net/linux/fedora/extras/4/i386/up-imapproxy-1.2.4-4.fc4.i386.rpm # rpm -Uvh up-imapproxy-1.2.4-4.fc4.i386.rpm
server_hostname www.yourhostname.com listen_port 343 server_port 143 cache_expiration_time 300
#wget http://www.squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fprdownloads.sourceforge.net%2Fsquirrelmail%2Fsquirrelmail-1.4.5-1.noarch.rpm rpm -uvh squirrelmail-1.4.5-1.noarch.rpm
That is it!


Digg this!
Del.ico.us
Google
Yahoo bookmarks
Reddit
Spurl
Simpy
