From owner-freebsd-questions@FreeBSD.ORG Thu Nov 18 05:10:04 2004 Return-Path: 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 C1DE116A4CE for ; Thu, 18 Nov 2004 05:10:04 +0000 (GMT) Received: from mxout6.cac.washington.edu (mxout6.cac.washington.edu [140.142.33.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8275C43D41 for ; Thu, 18 Nov 2004 05:10:04 +0000 (GMT) (envelope-from dsyphers@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) ESMTP id iAI5A0dX011621; Wed, 17 Nov 2004 21:10:00 -0800 Received: from yggdrasil.seektruth.org (c-67-171-38-33.client.comcast.net [67.171.38.33]) (authenticated bits=0)iAI59xGG024754 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Wed, 17 Nov 2004 21:10:00 -0800 From: David Syphers To: Giorgos Keramidas Date: Wed, 17 Nov 2004 21:10:35 -0800 User-Agent: KMail/1.7 References: <200411172035.59370.dsyphers@u.washington.edu> <20041118045923.GA4001@gothmog.gr> In-Reply-To: <20041118045923.GA4001@gothmog.gr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411172110.36105.dsyphers@u.washington.edu> cc: freebsd-questions@freebsd.org Subject: Re: basic sendmail problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 05:10:04 -0000 On Wednesday 17 November 2004 08:59 pm, Giorgos Keramidas wrote: > On 2004-11-17 20:35, David Syphers wrote: > > I have sendmail_enable="YES" in rc.conf, I have my aliases and > > virtusertable files the way I want them, sendmail's running, and > > listening on port 25. However, one thing has changed since the last > > time I tried this - I'm now on a LAN. The router sends all port 25 > > stuff to my server, and that works fine. But it means that my server > > has an IP that it can't resolve, though its domain name resolves into > > the correct IP and gets to the server even from on the LAN. > > I don't see why the first part of the previous sentence justifies the > second. Why can't your IP resolve? Sorry, I probably didn't say that right. What I meant was, if it tries to reverse lookup a name based its own IP, it wouldn't work. If that matters. I do see it complaining things like 'gethostbyaddr(192.168.1.103) failed: 1'. > > I've tried adding this local IP to /etc/hosts for kicks. > > Nothing changed. > > Does your /etc/nsswitch.conf point first at /etc/hosts and then at dns? Yes. Do I need to restart anything after changing hosts? (I haven't used Windows in years, but I still get this feeling that I should reboot after making any change...) > > Every time I try to send a message to any user on the system, from > > virtusertable, aliases, or a real user, I get the error 550 5.7.1 > > "relaying denied", followed by 550 5.1.1 "user unknown". > > Does Sendmail log anything in /var/log/maillog? If yes, what is it? Yes, for example: Nov 17 19:52:53 bifrost sm-mta[1740]: iAI3qqvn001740: ruleset=check_rcpt, arg1=, relay=mxout2.cac.washington.edu [140.142.33.4], reject=550 5.7.1 ... Relaying denied Is it denying mail because it thinks it's not seektruth.org? -David