pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
SOLVED: Re: Postfix compiling woes
Martti Kuparinen schrieb:
You might want to create /etc/rc.conf.d/postfix so that the old
postfix is never used...
# cat /etc/rc.conf.d/postfix
postfix_command="/usr/pkg/sbin/postfix"
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'
# /etc/rc.d/postfix restart
/Martti
I have done so as described by pkg_info:
name="postfix"
rcvar=$name
postfix_command="/usr/pkg/sbin/postfix"
required_files="/usr/pkg/etc/postfix/main.cf"
start_precmd="postfix_precmd"
start_cmd="/usr/pkg/sbin/postfix
start"
stop_cmd="/usr/pkg/sbin/postfix
stop"
reload_cmd="/usr/pkg/sbin/postfix
reload"
extra_commands="reload"
spooletcdir="/var/spool/${name}/etc"
postconf="/usr/pkg/sbin/postconf"
required_dirs=$spooletcdir
That was what why I was stuck - I thought I had done it right.
But - I have made the mistake of using my old main.cf with the newly
made postfix - and all the directory and path entries pointed to the old
installation. What an embarrassing mistake.
Thanks for your help, Martti!
Dirk
Home |
Main Index |
Thread Index |
Old Index