View Single Post
  #21  
Old 28th January 2006, 16:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by Median
Ok. Just come across /etc/postfix/postfix.spec.sf which is as follows:

Code:
#
# This file contains the following information:
#
# - configuration options used to build the installed postfix rpm
#   - generated when the binary rpm was built
#
# - Postfix RPM build instructions
#   - for upgrading the installed rpm with the same options
#   - for building the rpm with other options
#
# 1. CONFIGURATION OPTIONS OF INSTALLED BINARY RPM
#
# Package built on: fedora-release-2-4 (fedora-2.0)

POSTFIX_ALT_PRIO=30
POSTFIX_CDB=0
POSTFIX_DB=4
POSTFIX_IPV6=0
POSTFIX_LDAP=0
POSTFIX_MYSQL=0
POSTFIX_MYSQL_PATHS=0
POSTFIX_MYSQL_REDHAT=0
POSTFIX_PCRE=0
POSTFIX_PGSQL=0
POSTFIX_SASL=0
POSTFIX_SMTPD_MULTILINE_GREETING=1
POSTFIX_SPF=0
POSTFIX_TLS=1
POSTFIX_VDA=0

# export values to child processes
export POSTFIX_MYSQL POSTFIX_MYSQL_PATHS POSTFIX_MYSQL_REDHAT  POSTFIX_LDAP POSTFIX_PCRE POSTFIX_PGSQL  POSTFIX_SASL POSTFIX_SPF POSTFIX_TLS POSTFIX_IPV6 POSTFIX_VDA  POSTFIX_SMTPD_MULTILINE_GREETING POSTFIX_DB POSTFIX_INCLUDE_DB  POSTFIX_CDB POSTFIX_ALT_PRIO

# other options used in the build (but not explicitly changeable by the user) are:
# - debug=0
# - pcre_requires=pcre,
# - requires_zlib=0,
# - sasl_library=cyrus-sasl-devel
# - tlsfix=0
#
# /etc/postfix/makedefs.out is also produced by the build and may be of
# interest if you are building Postfix by hand.
The file date is back in June 2005 which is before I got the vps, so I'm guessing it's put there at build time.

Just guessing, but maybe
Code:
POSTFIX_SASL=0
is the reason postfix didn't install with sasl support?

If so, do I just change that to
Code:
POSTFIX_SASL=1
and uncomment
Code:
# - sasl_library=cyrus-sasl-devel
then re-install to get it to work as it should?
No, that won't work because you will have to rebuild Postfix first. /etc/postfix/postfix.spec.sf is just a configuration file for the Postfix build...

I recommend you do everything as outlined in the FC3 tutorial ( http://www.howtoforge.com/perfect_setup_fedora_core_3 ).
First check /etc/apt/sources.list. It should contain
Code:
rpm http://ayo.freshrpms.net fedora/linux/3/i386 core updates freshrpms
rpm http://ayo.freshrpms.net fedora/linux/3/i386 tupdates
rpm-src http://ayo.freshrpms.net fedora/linux/3/i386 core updates freshrpms
rpm-src http://ayo.freshrpms.net fedora/linux/3/i386 tupdates
rpm http://ayo.freshrpms.net fedora/linux/2/i386 core updates freshrpms
rpm http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms
, nothing else. Run
Code:
apt-get update
afterwards.
Then do the Postfix stuff as described on http://www.howtoforge.com/perfect_se...dora_core_3_p4 , starting with
Code:
apt-get install cyrus-sasl cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-md5 cyrus-sasl-plain postfix dovecot
(I've replaced imap with dovecot for you already).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links