From owner-freebsd-questions@FreeBSD.ORG Sat Sep 24 14:40:46 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B48F116A41F for ; Sat, 24 Sep 2005 14:40:46 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 571CD43D48 for ; Sat, 24 Sep 2005 14:40:46 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 95A525EE8; Sat, 24 Sep 2005 10:40:45 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 55700-06; Sat, 24 Sep 2005 10:40:45 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-71-31.ny325.east.verizon.net [68.161.71.31]) by pi.codefab.com (Postfix) with ESMTP id 85D7B5CA4; Sat, 24 Sep 2005 10:40:44 -0400 (EDT) Message-ID: <4335656F.3060106@mac.com> Date: Sat, 24 Sep 2005 10:40:47 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728 X-Accept-Language: en-us, en MIME-Version: 1.0 To: steve lasiter References: <20050923224214.95380.qmail@web33610.mail.mud.yahoo.com> In-Reply-To: <20050923224214.95380.qmail@web33610.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: free bsd Subject: Re: gateway and smmsp 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: Sat, 24 Sep 2005 14:40:46 -0000 steve lasiter wrote: > I have all FreeBSD boxes running 5.4. My gateway > server is set up as 192.168.0.1 and I have four behind > it. My mail server is 192.168.0.2 running postfix and > apache. I have the proper redirect in the ipnat.rules > and the proper ipf.rules to allow in email on port 25. > > I can send mail successfully from the 192.168.0.2 mail > server but cannot receive it. When I attempt to telnet > into the gateway on port 25 and watch with a sockstat > -4 command a sendmail smmsp user pops up on port 25. I > never configured the FreeBSD gateway options for any > email handling and have all turned off in the rc.conf > file with sendmail_enable="NO" and others. Run "netstat -an | grep 25" on your firewall, and make sure nothing is listening on port 25, including inetd. Run "tcpdump -nt port 25" on your mailserver, and see whether the firewall and redirection is working right. -- -Chuck