Steve Jenkins: > Up to now, we've been running Postfix 2.3.3 that was installed on a number > of CentOS 5.5 production servers with a simple "yum install postfix" > > We want to run an updated version, so I compiled 2.7.2 from source using the > information at http://postfix.wl0.org/en/building-rpms/ > > When creating the postfix.spec file, the only additional option I explicitly > added was: > > export POSTFIX_PCRE=1 > > Everything seemed to go fine and the CentOS 5.5 test box I built and > installed it on appears to be sending test mails as expected. However, I > want to compile in the same options that are included in the "default" 2.3.3 > version that we're running on our production servers. > > However, I couldn't find a postconf option in the docs to show which options > were included at compile time. Is there a command that will show them, or a > list somewhere that shows which ones were included in Postfix 2.3.3 > installed by yum on CentOS 5?
Postfix from postfix.org stores the compile-time options in /etc/postfix/makedefs.out. If your vendor distributes that file, look for the EXPORT line. Here is an example: EXPORT = AUXLIBS=' -L/usr/local/lib -lpcre' CCARGS=' -DHAS_PCRE -I/usr/local/include -DSNAPSHOT' OPT='-O' DEBUG='-g' The AUXLIBS and CCARGS are what you would specify on the "make makefiles" command line. Wietse