How To Install pam_mapi on CentOS 7
Introduction
In this tutorial we learn how to install pam_mapi
on CentOS 7.
What is pam_mapi
pam_mapi is a PAM module (Pluggable Authentication Modules) for authentication against a Zarafa server. Applications like Zarafa WebAccess, Zarafa WebApp or Microsoft Outlook which directly connect to the Zarafa Collaboration Platform use MAPI in SOAP to do so. If Zarafa is configured to use the DB authentication plugin, all user information are stored in a MySQL database. Once IMAP/POP3 is used via the Zarafa Gateway, SMTP gets involved for outbound e-mails, too. Usually this requires SMTP authentication (to avoid open relays), but the user information in the MySQL database is unfortunately not accessible for established SASL daemons. The pam_mapi module is filling this gap by adding MAPI-based authentication to PAM and thus to SMTP daemons via SASL. Just execute “cat /usr/share/doc/pam_mapi-0.3.5/pam.conf > /etc/pam.d/smtp” for a simple setup. Please read the documentation for more extended configurations.
We can use yum
or dnf
to install pam_mapi
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install pam_mapi.
Install pam_mapi on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install pam_mapi
using yum
by running the following command:
Install pam_mapi on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install pam_mapi
using dnf
by running the following command:
How To Uninstall pam_mapi on CentOS 7
To uninstall only the pam_mapi
package we can use the following command:
References
Summary
In this tutorial we learn how to install pam_mapi
on CentOS 7 using yum
and dnf
.