On Mon, 2005-08-29 at 19:53 +0200, Alexander Dalloz wrote:
Am Mo, den 29.08.2005 schrieb dan.trainor um 19:29:
Alexander Dalloz wrote:
Am Mo, den 29.08.2005 schrieb dan.trainor um 18:13:
Remember that you're going to need to compile Postfix with SASL support. The easiest way I've found to build my nice install is to grab the Postfix SRPM, edit the .spec appropriately, and then rebuild the RPM for your particular setup.
-dant
For what do you have the Postfix shipped by CentOS be recompiled? Not for getting SASL support.
Alexander
...what?
-dant
Postfix .spec CentOS 3.5 (excerpt): %define LDAP 2 %define SASL 1 %if %{LDAP} <= 1 && %{SASL} >= 2 %undefine SASL %define SASL 1 %endif %if %{SASL} BuildRequires: cyrus-sasl >= 2.1.10, cyrus-sasl-devel >= 2.1.10 Requires: cyrus-sasl >= 2.1.10 %endif %if %{SASL} %define sasl_v1_lib_dir %{_libdir}/sasl %define sasl_v2_lib_dir %{_libdir}/sasl2 CCARGS="${CCARGS} -DUSE_SASL_AUTH" %if %{SASL} <= 1 %define sasl_lib_dir %{sasl_v1_lib_dir} AUXLIBS="${AUXLIBS} -L%{sasl_lib_dir} -lsasl" %else %define sasl_lib_dir %{sasl_v2_lib_dir} CCARGS="${CCARGS} -I/usr/include/sasl" AUXLIBS="${AUXLIBS} -L%{sasl_lib_dir} -lsasl2" %endif %endif
Postfix .spec CentOS4.1 (excerpt): %define LDAP 2 %define SASL 2 %if %{LDAP} <= 1 && %{SASL} >= 2 %undefine SASL %define SASL 1 %endif %if %{SASL} BuildRequires: cyrus-sasl >= 2.1.10, cyrus-sasl-devel >= 2.1.10 Requires: cyrus-sasl >= 2.1.10 %endif %if %{SASL} %define sasl_v1_lib_dir %{_libdir}/sasl %define sasl_v2_lib_dir %{_libdir}/sasl2 CCARGS="${CCARGS} -DUSE_SASL_AUTH" %if %{SASL} <= 1 %define sasl_lib_dir %{sasl_v1_lib_dir} AUXLIBS="${AUXLIBS} -L%{sasl_lib_dir} -lsasl" %else %define sasl_lib_dir %{sasl_v2_lib_dir} CCARGS="${CCARGS} -I/usr/include/sasl" AUXLIBS="${AUXLIBS} -L%{sasl_lib_dir} -lsasl2" %endif %endif
Any evidence that Postfix on CentOS is not compiled against SASL?
I say: you don't have to recompile Postfix to get Postfix on CentOS running with SMTP AUTH (by SASL support).
Alexander
I was going to post the same thing. SASL works with CentOS's postfix.