Subject: disabling postfix in base
To: None <netbsd-users@netbsd.org>
From: micrun <mkj@micrun.net>
List: netbsd-users
Date: 07/10/2007 14:34:26
Hi netbsd-users

im trying to setup a mailserver using postfix
i want to disable the postfix that came from the
base system so im certain that there is only one postfix
that is running.

ie. when i type postlog or another postfix command i want to be sure it 
executes
the path /usr/pkg/sbin/post{xyz} and so on.

i looked at a guide for setting up postfix from some such wintellect.

which tells me that adding this:
 
required_files='/usr/pkg/etc/postfix/main.cf'
start_cmd='/usr/pkg/sbin/postfix start'
stop_cmd='/usr/pkg/sbin/postfix stop'
reload_cmd='/usr/pkg/sbin/postfix reload'

to rc.conf.d, will force /etc/rc.d/postfix to start
/usr/pkg/sbin /postfix instead of the normal one.

looking inside the /etc/rc.d/postfix
 see the.

required_files
start_cmd
..
..

are set inside there, and i dont see how i can override them from rc.conf.d
can anyone explain?


as a final question:
Is it not a good idea to disable base postfix entirely, or is the above
settings good enough, setting required_files etc. ?

i just dont want to sit and debug things and finally realizing that it 
is the wrong postfix
im working with :)


regards
michael.cognacc