From owner-freebsd-questions@FreeBSD.ORG Thu Nov 18 04:35:24 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 165D916A4D3 for ; Thu, 18 Nov 2004 04:35:24 +0000 (GMT) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE71343D45 for ; Thu, 18 Nov 2004 04:35:23 +0000 (GMT) (envelope-from dsyphers@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) ESMTP id iAI4ZNZO003147 for ; Wed, 17 Nov 2004 20:35:23 -0800 Received: from yggdrasil.seektruth.org (c-67-171-38-33.client.comcast.net [67.171.38.33]) (authenticated bits=0)iAI4ZMlc005334 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Wed, 17 Nov 2004 20:35:23 -0800 From: David Syphers To: freebsd-questions@freebsd.org Date: Wed, 17 Nov 2004 20:35:59 -0800 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411172035.59370.dsyphers@u.washington.edu> Subject: 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 04:35:24 -0000 I've previously used sendmail in a very simple configuration - it just forwards my mail to another address. I now want to do that again, and find that it no longer works. I'm using Sendmail 8.13.1 on 6-CURRENT from 20040905 (i.e. pretty much FreeBSD 5, but with one crucial fix so it would boot on my computer). 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've tried adding this local IP to /etc/hosts for kicks. Nothing changed. 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". I get a user unknown error when I try to mail root. Which is bad. This happens to mail sent from either inside or outside the LAN. Mail sent on the server itself is delivered fine. I've tried adding my local network's IP range to Sendmail's access file allowing relay, but that didn't change anything either. And yes, I did 'make' in /etc/mail after making all these changes. Last time I tried this Sendmail worked "out of the box," so I have no idea how anything actually works. Any ideas? Thanks, -David