[CentOS] pop before smtp
Alexander Dalloz
ad+lists at uni-x.org
Mon Aug 29 17:53:29 UTC 2005
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
--
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp
Serendipity 19:42:04 up 7 days, 16:25, load average: 0.14, 0.17, 0.20
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.centos.org/pipermail/centos/attachments/20050829/a5d0a48e/attachment.sig>
More information about the CentOS
mailing list