Subject: Re: Postfix and NetBSD
To: Eric Jacoboni <jaco@teaser.fr>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 09/09/2001 22:03:51
On Sun, Sep 09, 2001 at 06:13:15PM +0200, Eric Jacoboni wrote:
> Hi,
> 
> Is someone here who is using Postfix as a mail server with NetBSD
> 1.5.1 ?
> 
> I always used it on other os without any problem, but it fails with
> NetBSD...
> 
> # tail -f /var/log/maillog
> Sep  9 02:01:55 titine postfix/master[1232]: daemon started
> Sep  9 02:02:16 titine postfix/qmgr[1234]: C02AF1D108:
> from=<jaco@titine.fr.eu.org>, size=312 (queue active)
> Sep  9 02:02:16 titine postfix/smtp[1239]: fatal: unknown service: smtp/tcp

Do you have smtp defined in your /etc/services ?

> Sep  9 02:02:17 titine postfix/qmgr[1234]: warning: mail_scan_any: got
> EOF; expected: string
> Sep  9 02:02:17 titine postfix/master[1232]: warning: process
> /usr/libexec/postfix/smtp pid 1239 exit status 1
> Sep  9 02:02:17 titine postfix/master[1232]: warning:
> /usr/libexec/postfix/smtp: bad command startup -- throttling
> Sep  9 02:02:17 titine postfix/qmgr[1234]: warning: private/smtp:
> malformed response
> 
> I'm using the same main.cf as i do with my other os, and there is a
> /var/spool/postfix/etc with localtime, service and resolv.conf (as it
> seems that it's a chroot'ed postfix)

If it's chrooted you may have to copy /etc/services here too.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--