From owner-freebsd-questions@FreeBSD.ORG Mon May 31 18:17:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21C5A1065674 for ; Mon, 31 May 2010 18:17:14 +0000 (UTC) (envelope-from SamanKaya@netscape.net) Received: from imr-ma05.mx.aol.com (imr-ma05.mx.aol.com [64.12.100.31]) by mx1.freebsd.org (Postfix) with ESMTP id D86418FC12 for ; Mon, 31 May 2010 18:17:13 +0000 (UTC) Received: from mtaout-db05.r1000.mx.aol.com (mtaout-db05.r1000.mx.aol.com [172.29.51.197]) by imr-ma05.mx.aol.com (8.14.1/8.14.1) with ESMTP id o4VIH08x018177 for ; Mon, 31 May 2010 14:17:07 -0400 Received: from [192.168.0.54] (81-178-2-118.dsl.pipex.com [81.178.2.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mtaout-db05.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id DFD3EE000085 for ; Mon, 31 May 2010 14:17:06 -0400 (EDT) Message-ID: <4C03FD20.1080401@netscape.net> Date: Mon, 31 May 2010 19:17:04 +0100 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17 (Ubuntu-1.1.17+nobinonly-0ubuntu0.9.04.1) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:345891968:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d33c54c03fd22261a X-AOL-IP: 81.178.2.118 Subject: Postfix bad command startup?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 18:17:14 -0000 Hi, similar like I wrote before, to do with my migration from Solaris 9 to FreeBSD 8.0 x64 RELEASE. Postfix is being run in a BSD Jail and so far I have disabled as much as I could of sendmail which I did this to rc.conf within the jail: postfix_enable="YES" sendmail_enable="NONE" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" However upon startup Postfix gives me this problem: May 31 18:03:18 relay postfix/master[4280]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling May 31 18:04:18 relay postfix/smtpd[4606]: fatal: open database /etc/aliases.db: No such file or directory May 31 18:04:19 relay postfix/master[4280]: warning: process /usr/local/libexec/postfix/smtpd pid 4606 exit status 1 May 31 18:04:19 relay postfix/master[4280]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling May 31 18:05:19 relay postfix/smtpd[4629]: fatal: open database /etc/aliases.db: No such file or directory May 31 18:05:20 relay postfix/master[4280]: warning: process /usr/local/libexec/postfix/smtpd pid 4629 exit status 1 May 31 18:05:20 relay postfix/master[4280]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling I can tell that it's listening as netstat -ap tcp reveals this: netstat: kvm not available: /dev/mem: No such file or directory Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 relay.smtp 110.52.7.217.2140 ESTABLISHED tcp4 0 0 relay.smtp web112111.mail.g.33920 ESTABLISHED tcp4 0 0 relay.smtp 110.52.6.29.4643 ESTABLISHED tcp4 0 0 relay.smtp 78-61-12-207.sta.28507 CLOSED tcp4 0 0 relay.smtp 78-61-12-207.sta.27646 CLOSE_WAIT tcp4 0 0 relay.smtp 78-61-12-207.sta.26479 CLOSE_WAIT tcp4 0 0 relay.smtp 110.52.6.35.2109 ESTABLISHED tcp4 0 0 relay.smtp 78-61-12-207.sta.23305 CLOSED tcp4 0 0 relay.smtp 78-61-12-207.sta.22314 CLOSE_WAIT tcp4 0 0 relay.smtp 78-61-12-207.sta.21323 CLOSE_WAIT tcp4 0 0 relay.ssh *.* LISTEN tcp4 0 0 relay.smtp *.* LISTEN /var/log/messages gives me this: May 31 18:10:24 relay postfix/smtpd[4662]: fatal: open database /etc/aliases.db: No such file or directory however I did run the command newaliases which did create the aliases file under /etc/mail/aliases with the aliases.db file being under there as well as under /etc. Currently no mail is being relayed throughout the domain so I can tell that it's not working as even the /var/log/maillog file is telling me that messages are queued but not sent if I use: mail -s test email@address.com test ^D Can someone please help me work out what is causing Postfix to fail as I've managed to migrate my config from Linux to Solaris with not as many issues and problems as this so it really beats me.......???? Many thanks, Kaya