Victor Duchovni: > On Tue, Feb 03, 2009 at 11:27:44AM -0800, Nandini Mocherla wrote: > > > Hi > > > > I was installing Postfix postfix-2.5.5 on Solaris. At the time of > > compiling the Source with make I have defined the parameters (for changing > > the default values of the following from /etc/ to /opt etc.) > > -DDEF_COMMAND_DIR= > > -DDEF_SAMPLE_DIR= > > -DDEF_SENDMAIL_PATH= > > -DDEF_CONFIG_DIR= > > -DDEF_DAEMON_DIR= > > -DDEF_DATA_DIR= > > -DDEF_QUEUE_DIR > > -DDEF_MAILQ_PATH= > > -DDEF_MANPAGE_DIR= > > -DDEF_NEWALIAS_PATH= > > > > When I run make install, it asked a load of questions again about where I > > want the stuff located. One of the things it asks about is config files, > > which defaults to /etc/postfix and I change it to /opt/postfix/etc > > Sorry, you must compile-in the desired location of the default > configuration directory. This cannot be set via main.cf, catch-22.
Once the correct default is compiled in, you can override it via other means, and install Postfix in other locations, but overriding config_directory via main.cf is not an option. Wietse