server | mail server
I did not want to recompile CYRUS-SASL, but Fedora brought the problem in my test, or recompile it, although Fedora with the 2.1.15 version.
[Root@localhost etc]# Cd/ruanjian [Root@localhost ruanjian]# CD cyrus-sasl-2.1.15 [Root@localhost cyrus-sasl-2.1.15]#./configure--disable-sample \ >--disable-pwcheck--disable-gssapi--disable-cram \ >--disable-digest--disable-krb4--disable-anon \ >--WITH-SASLAUTHD=/VAR/RUN/SASLAUTHD \ >--enable-plain--enable-login [Root@localhost cyrus-sasl-2.1.15]# [-D/USR/LIB/SASL2] && Mv/usr/lib/sasl2/usr/lib/sasl2.orig [Root@localhost cyrus-sasl-2.1.15]# ln-s/USR/LOCAL/LIB/SASL2/USR/LIB/SASL2 [Root@localhost cyrus-sasl-2.1.15]# echo/usr/local/lib >>/etc/ld.so.conf [Root@localhost cyrus-sasl-2.1.15]# ECHO/USR/LOCAL/LIB/SASL2 >>/etc/ld.so.conf [Root@localhost cyrus-sasl-2.1.15]# Ldconfig [Root@localhost cyrus-sasl-2.1.15]# [Root@localhost cyrus-sasl-2.1.15]# echo PWCHECK_METHOD:SASLAUTHD >/usr/lib/sasl2/smtpd.conf [Root@localhost cyrus-sasl-2.1.15]#/usr/local/sbin/saslauthd-a Pam [Root@localhost cyrus-sasl-2.1.15]# |
Vi. installation and configuration of Postfix
A. Stop Sendmail.fedora has been installed by default SendMail, remove it.