From owner-freebsd-questions Thu Sep 5 6:48:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1480437B400 for ; Thu, 5 Sep 2002 06:48:31 -0700 (PDT) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77C1C43E65 for ; Thu, 5 Sep 2002 06:48:30 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Thu, 5 Sep 2002 14:48:25 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 17mwz1-0004sW-00; Thu, 05 Sep 2002 14:47:43 +0100 Date: Thu, 5 Sep 2002 14:47:43 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Yann Golanski Cc: Den , freebsd-questions Subject: Re: SMTP vs sendmail In-Reply-To: <20020905123732.GA11438@kierun.org> Message-ID: 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 On Thu, 5 Sep 2002, Yann Golanski wrote: > Quoth Den on Thu, Sep 05, 2002 at 16:34:31 +0400 > > every time I send mail, sendmail print error messages: > > Sep 5 15:40:05 img sendmail[17883]: My unqualified host name (img) unknown; > > sleeping for retry > > Sep 5 15:41:05 img sendmail[17883]: unable to qualify my own domain name > > (img) -- using short name > > > > my host (named img) is in local network, and return path is "sg ", if > > I send mail using sendmail. > > > > Is it possible to disable this error messages and customise return path (and > > maybe some other parameters) for all mail I send? > > AH, it is a DNS error...i think. I'm much more of an Exim person. Try > adding to /etc/hosts: > img 10.0.0.10 > and see if that helps -- assuming img is the name of your machine and > that it's IP is 10.0.0.10. > > Hope that helps. It might if you switch the columns of that around. 10.0.0.10 img -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ Theory and practice _are_ the same thing. In theory. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message