NetBSD-Users archive

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

Re: Setting up postfix



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


Home | Main Index | Thread Index | Old Index