PDA

View Full Version : postconf: command not found (Fedora Core 5 setup)


Xenobi
26th July 2006, 17:49
I didn't get far from mySQL nightmare and I'm stuck again. :D

Postfix and dovecot seemed to install just fine but the next step to configure smtp just says.

bash: postconf: command not found

Ben
26th July 2006, 18:06
Did you change to root via su or did you directly login via root?
If you did su, try su - otherwise you profile won't be loaded and pathes maybe set wrong.

did you try a
which postconf

and if that does not help
find / -name postconf

Xenobi
26th July 2006, 18:14
That did it! Thanks much

I used su, su - did the trick

Ben
26th July 2006, 20:14
I ran in that *** problem some time, because after denying root login directly via ssh I added another user an "su"ed but stuff like service did not work.... so I came to that.

To solve that you can make sth like

alias su='su -'

in /root/.bash_rc