Subject: Re: rc.d, etcupdate and etc...
To: mouss <usebsd@free.fr>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-userlevel
Date: 12/24/2004 12:54:26
On Thu, 23 Dec 2004, mouss wrote:

> while we're talking about rc.d stuff, I would like the cron things to stop 
> complaining about "/etc/rc.d/postfix" not being there (I removed it since I'm 
> using the pkg version. I don't believe an MTA is part o the base system...)

What's wrong with this setup:

- set postfix=YES in /etc/rc.conf
- keep the original /etc/rc.d/postfix
- modify /etc/mailer.conf to use the /usr/pkg/sbin/sendmail
- use this /etc/rc.conf.d/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'

Works perfectly for me...

Martti