Subject: Re: disabling postfix in base
To: None <netbsd-users@netbsd.org>
From: micrun <mkj@micrun.net>
List: netbsd-users
Date: 07/18/2007 02:47:13
i have changed mailer.conf thusly!

#mailer.conf
--
sendmail            /usr/pkg/sbin/sendmail
send-mail          /usr/pkg/sbin/sendmail
mailq                /usr/pkg/sbin/sendmail
newaliases        /usr/pkg/sbin/sendmail
--

the rest is comments.

ok my goal is to have the command

$ post{xyz}

execute /usr/pkg/sbin/post{xyz}

alas typing
$ which post{xyz}
/usr/pkg/sbin/post{xyz}




Markus Schaaf wrote:
> Besides the already mentioned rc config, you may want to 
> adjust/etc/mailer.conf, and your shell's startup files regarding $PATH.
 
PATH variable, if i change that don't i risc breaking other things.
since the base postfix is in /usr/sbin   where other  system tools are
also stored?. or maybe it is not a problem on a dedicated mailserver ?

actually i thought about renaming the postfix executables in /usr/sbin
that should work since the will then be the only postfix in the searchpath.
but is that a bad idea ?


michael