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
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

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/" 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 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!


Home | Main Index | Thread Index | Old Index