From owner-freebsd-questions Tue Jun 25 1: 3:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from 217-126-145-95.uc.nombres.ttd.es (217-126-145-95.uc.nombres.ttd.es [217.126.145.95]) by hub.freebsd.org (Postfix) with ESMTP id B785837B4D6 for ; Tue, 25 Jun 2002 01:00:42 -0700 (PDT) Received: by unicorn.ea4els.ampr.org (Postfix, from userid 1001) id B01BA3204; Tue, 25 Jun 2002 10:00:38 +0200 (CEST) To: freebsd-questions@freebsd.org Subject: Re: freebsd && postfix References: <3D180DC8.2030403@gmx.net> From: Simon J Mudd Date: 25 Jun 2002 10:00:38 +0200 In-Reply-To: <3D180DC8.2030403@gmx.net> Message-ID: <86wusnzt21.fsf@unicorn.ea4els.ampr.org> Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG s.dale@gmx.net (Sunny Dale) writes: > hello people, > -i am running FreeBSD 4.4release with postfix-1.1.11. > -in main.cf i have set myhostname/mydomain/myorigin > -postconf -n shows me that all of those parameters are set correctly. > > still postfix seems to get *its hostname* from gethostname(). when i > do "hostname " suddenly it starts working. i'd prefer to set the > hostname in main.cf though. Wietse, the author, uses Postfix as his development platform. The symptoms you report appear to be rather strange. Perhaps it would help if you showed us. From postfix stopped: 1. the output of postconf -n 2. the output of postfix start (if this is how you start postfix) 3. the log entries which show that Postfix doesn't like/use the hostname in main.cf 4. you may need to enable debugging information in the part of Postfix which is failing (add a -v to the entry in /etc/postfix/master.cf) > ps. if this question is moron ignore it. The question appears strange but you not shown _any_ information to back up what you say, so the symptoms may be related to something else. Show us the output and perhaps we can determine what is happening. Simon -- Simon J Mudd, Tel: +34-91-408 4878, Mobile: +34-605-085 219 Madrid, Spain. email: sjmudd@pobox.com, Postfix RPM Packager To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message