From owner-freebsd-questions Wed Dec 5 19:41: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from c007.snv.cp.net (c007-h000.c007.snv.cp.net [209.228.33.206]) by hub.freebsd.org (Postfix) with SMTP id DBE1237B417 for ; Wed, 5 Dec 2001 19:40:58 -0800 (PST) Received: (cpmta 26396 invoked from network); 5 Dec 2001 19:40:58 -0800 Received: from 64.195.103.89 (HELO boethius.telocity.com) by smtp.telocity.com (209.228.33.206) with SMTP; 5 Dec 2001 19:40:58 -0800 X-Sent: 6 Dec 2001 03:40:58 GMT Received: by boethius.telocity.com (Postfix, from userid 1000) id D7A3B22CE; Wed, 5 Dec 2001 21:40:57 -0600 (CST) Date: Wed, 5 Dec 2001 21:40:57 -0600 From: Anthony Kim To: Dave Atkins Cc: freebsd-questions@freebsd.org Subject: Re: sendmail times out connecting to local mailserver Message-ID: <20011206034057.GB3737@boethius.telocity.com> Mail-Followup-To: Dave Atkins , freebsd-questions@freebsd.org References: <3C0E6061.2696961E@atkinshome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C0E6061.2696961E@atkinshome.com> User-Agent: Mutt/1.3.23.2i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Dec 05, 2001, Dave Atkins wrote: > I have a freeBSD box in our datacenter with a bunch of Windows > servers. When I attempt to send an email, it times out when > attempting to deliver to our local mailserver. If I attempt to > send to an address outside our network, it works...but very > slowly. There is a 10-15 second delay before the message is > accepted for delivery. In the case of our local mailserver, it > just times out. > Dave, I believe you may be suffering from 2 separate problems. Sendmail delays are often caused by a firewall (you have a PIX right?) dropping ident requests, which sendmail likes to do. Configure your firewall to respond to TCP/113 SYNs with RST, to see if this improves your mail speed. Secondly, internally, you're better off splitting DNS - separating public from private. That way, you could safely set up an MX record in your private DNS name space pointing to your private IP 192.168.x.x instead of mail routing out to your public, published address. If you don't want to do that, you may have to set up each of your internal mail servers to use feature(mailertable) in order to disregard DNS for specified domains. In postfix, this feature uses the "transport" table. In qmail, it is called "smtproutes". HTH, -- "Le motd juste." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message