From owner-freebsd-questions@FreeBSD.ORG Thu Apr 7 01:18:24 2005 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 044D016A4CE for ; Thu, 7 Apr 2005 01:18:24 +0000 (GMT) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2238643D39 for ; Thu, 7 Apr 2005 01:18:23 +0000 (GMT) (envelope-from chris@monochrome.org) Received: from frambozen (frambozen [192.168.1.9]) by mail.monochrome.org (8.9.3/8.9.3) with ESMTP id VAA81510; Wed, 6 Apr 2005 21:18:07 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Wed, 6 Apr 2005 21:19:10 -0400 (EDT) From: Chris Hill To: Xian In-Reply-To: <200504070130.40305.ian@codepad.net> Message-ID: <20050406210809.Y65233@frambozen.monochrome.org> References: <200504070130.40305.ian@codepad.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: sending mail between local computers 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, 07 Apr 2005 01:18:24 -0000 On Thu, 7 Apr 2005, Xian wrote: > I have two FreeBSD boxes running sendmail, how would make it so mail > can be sent from one box to the other? Assuming they are both on your local network, as suggested in the subject... You shouldn't have to do anything with sendmail. Just configure the machines so each hostnames resolves, from the perspective of the other machine. You could either create an /etc/hosts file on each machine, or run DNS locally. Probably other ways as well. Let's say that their hostnames are foo and bar - make it so that from foo you can 'ping bar', and vice versa. Once that works, you ought to be able to log in to foo and send mail via your favorite MUA to 'ian@bar' - note, that's just bar, not bar.com or anything. Likewise you ought to be able to log in to bar and send mail via your favorite MUA to 'ian@foo'. Assuming the user exists on both machines, of course. I'm doing something like this with my internal mail at home, and it works fine. > http://www.clanger9.org.uk/computer/explain.html Cute. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ]