Forum Moderators: bakedjake

Message Too Old, No Replies

Bug in Postfix make install script?

Is this a bug or my oversight?

         

bluedalmatian

11:00 pm on Mar 27, 2005 (gmt 0)

10+ Year Member



When I run make install, it asks a load of questions about where I want stuff located. One of the things it asks about is config files, which defaults to /etc/postfix and I change it to /usr/local/postfix

It then carries on with similar questions before copying a load of files into their location.

Then it stops saying

postfix: fatal: open /etc/postfix/main.cf: No such file or directory
make: *** [install] Error 1

Which looks like it's still expecting the config files to be in their default location, rather than the one I entered. It's actually put the files in the custom location, but then [italic]looks for them[/italic] in the default place!

Interestingly, if I re-run make install all the other questions remeber the custom answers I gave, but not the question about config files!

If I manually copy /usr/local/postfix/main.cf to /etc/postfix/ then it doesn't throw that error, it stumbles over another config file with exactly the same error instead!

Is this a bug or have I overlooked something?

Thanks
AW

MattyMoose

4:41 pm on Apr 4, 2005 (gmt 0)

10+ Year Member



Easiest, dirtiest hack I could think of to get over this problem:

ln -s /usr/local/etc/postfix /etc/postfix

That'll get you sorted for the time being. :)