NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Setting up postfix



Leonardo Taccari <leot%netbsd.org@localhost> ezt írta (időpont: 2019. jan. 17.,
Cs, 13:44):
>
> Hello Csányi,
>
> Csányi Pál writes:
> > [...]
> > Now after reboot, I get this messages:
> > eval: /usr/pkg/sbin/postconf: not found
> > eval: /usr/pkg/sbin/postfix: not found
> > /etc/rc.d/postfix excited with code 1
> >
> > and finally:
> > The following components reported failures:
> >    /etc/rc.d/postfix
> > [...]
> > But now what can I do to solve that problem that the postfix can't be started?
> > What am I missing here?
> > [...]
>
> It seems that the rc.d script invokes pkgsrc postfix not base
> postfix.  You can find the original one in the etc installation set^[0],
> fetching, locally extracting in a temporary directory it and overwriting
> /etc/rc.d/postfix with the one from etc.tgz should do the trick.^[1]
>
>
> [0]: E.g. for NetBSD/amd64 8.0 (probably the port will not made any
>      difference for the rc.d postfix script though):
>
>       <http://cdn.netbsd.org/pub/NetBSD/NetBSD-8.0/amd64/binary/sets/etc.tgz>
>
> [1]: If the daily script ran at least one time before overwriting the
>      postfix rc.d script another possible way to recover it is by
>      looking at /var/backups/etc/rc.d, then inspect the revisions via:
>
>       # rlog postfix.current
>
>      ...and pick up the proper revision (e.g. if 1.1 is the one)
>
>       # co -p 1.1 postfix.current

Hi Leonardo,

I just did followings:
because I have installed the etc.tgz set when installed this NetBSD,
and when upgradede this system to netbsd-8 daily, I think the etc.tgz
was upgraded too, I just copy in Midnight Commander the
/usr/INSTALL/etc.tgz/utar://etc/rc.d/postfix to the /etc/rc.d/postfix
file.

After that I run
/etc/rc.d/postfix reload
command, but get again this:
eval: /usr/pkg/sbin/postfix: not found

So, what am I missing?

--
Best, Pali


Home | Main Index | Thread Index | Old Index