Configuring Postfix SMTP AUTH
Configuring SMTP AUTH
in Postfix is pretty straightforward now that you have managed to set up and configure Cyrus SASL. The first thing you need to do is to check if Postfix was built to support SMTP authentication. Use the ldd
utility to check if the Postfix smtpd
daemon has been linked to libsasl:
# ldd /usr/libexec/postfix/smtpd | grep libsasl
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00002aaaabb6a000)
If you don't get any output, you will probably have to rebuild Postfix. Read the SASL_README
from the Postfix README_FILES
directory to get detailed information on what you must include in the CCARGS
and AUXLIBS
statements.
Preparing the configuration
Once you've verified that Postfix supports SMTP AUTH
, you need ...
Get Linux E-mail now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.