From owner-freebsd-questions@FreeBSD.ORG Thu Apr 7 17:33:46 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 B9AA316A4CE for ; Thu, 7 Apr 2005 17:33:46 +0000 (GMT) Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BB4943D39 for ; Thu, 7 Apr 2005 17:33:46 +0000 (GMT) (envelope-from ian@codepad.net) Received: from [80.229.159.44] (helo=hercules.codepad.net) by ptb-relay03.plus.net with esmtp (Exim) id 1DJasy-000LaJ-SK for freebsd-questions@freebsd.org; Thu, 07 Apr 2005 17:33:44 +0000 From: Xian To: freebsd-questions@freebsd.org Date: Thu, 7 Apr 2005 18:33:43 +0100 User-Agent: KMail/1.7 References: <200504070130.40305.ian@codepad.net> <20050406210809.Y65233@frambozen.monochrome.org> In-Reply-To: <20050406210809.Y65233@frambozen.monochrome.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504071833.43870.ian@codepad.net> 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 17:33:46 -0000 On Thursday 07 April 2005 02:19, Chris Hill wrote: > 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 <|> ] That's exactly what I'm doing except the hosts are named hercules and pandora. A little exploring and I find that hercules can't telnet to pandora port 25 and the other way too. This looks like the mail "Sendmail + No Response from Port 25" I just spotted on the list. -- /Xian "Windows has detected that your mouse has moved. Reboot now for changes to take effect?" Unknown Author