From owner-freebsd-questions@FreeBSD.ORG Thu Jan 15 03:21:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F2AE106567B for ; Thu, 15 Jan 2009 03:21:05 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 889238FC1E for ; Thu, 15 Jan 2009 03:21:05 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from [10.0.10.6] ([202.69.174.106]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 14 Jan 2009 19:21:01 -0800 Message-ID: <496EABA8.8060000@a1poweruser.com> Date: Thu, 15 Jan 2009 11:21:12 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Pieter Donche References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Jan 2009 03:21:02.0125 (UTC) FILETIME=[4B05F5D0:01C976C0] X-Sender: fbsd1@a1poweruser.com Cc: "mail.list freebsd-questions" Subject: Re: FreeBSD 7, how to recieve internet mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 03:21:06 -0000 Pieter Donche wrote: > On FreeBSD 7, out of the box, one can send mail to internet destinations > and can send mail locally from one user to another user on the same > FreeeBSD machine > > But it can't receive mail from internet as it appears .. > > A sendmail is running > freebsd7box># ps -jaxw | grep sendmail > smmsp 26649 1 26649 26649 0 Is ?? 0:00.00 sendmail: Queue > runner@00:30:00 for /var/spool/clientmqueue (sendmail) > root 26651 1 26651 26651 0 Ss ?? 0:00.04 sendmail: > accepting connections (sendmail) > > The machine is listening on port 25 > freebsd7box># netstat -na | grep 25 > tcp4 0 0 127.0.0.1.25 *.* LISTEN > > But telnettting the freebsd box with its own ip address at port 25 > from the root account of the box > freebsd7box># telnet 143.129.75.1 25 > Trying 143.129.75.1... > telnet: connect to address 143.129.75.1: Connection refused > > The only thing that works is > freebsd7box># telnet localhost 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > ... > > How do I make the FreeBSD7 box accept connections to port 25 from all of > the > internet ?? > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > Your problem is not with sendmail but with your understanding of how email works. You need your own registered domain name pointing to the ip address assigned by your isp that is used by your freebsd system running your public sendmail program. Or if you use your isp domain name for your email then you need to add the fetchmail program to your freebsd system to get your eamil from your isp and hand it off to sendmail for queing on your system. The 'Freebsd install guide' at www.a1poweruser.com has section explaining this subject in detail.