From owner-freebsd-isp Wed Jun 4 19:11:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA27564 for isp-outgoing; Wed, 4 Jun 1997 19:11:16 -0700 (PDT) Received: from packfish.gateway.net.hk (john@packfish.gateway.net.hk [202.76.19.16]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA27559 for ; Wed, 4 Jun 1997 19:11:13 -0700 (PDT) Received: (from john@localhost) by packfish.gateway.net.hk (8.8.3/8.7.3) id KAA10367; Thu, 5 Jun 1997 10:23:46 +0800 (HKT) Date: Thu, 5 Jun 1997 10:23:45 +0800 (HKT) From: John Beukema To: sweeting@neuronet.com.my cc: freebsd-isp@FreeBSD.ORG Subject: Re: help pls : how to optimise mail server response In-Reply-To: <3.0.32.19970605043257.00dec3a0@neuronet.com.my> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 5 Jun 1997 sweeting@neuronet.com.my wrote: > I apologise for asking this question again but had > little response last time and now it has become a > serious problem since a client is complaining > as a result of the following : > > The problem is that they are having a lot of difficulty > collecting mail from the mailhub I set up for them > on a P166 FreeBSD box with 64 MB RAM. > We are a webcompany with 2 MB line to the same > ISP that our customer is dialling into. (We are not the ISP) > > Een over a LAN, when I ping the FreeBSD box, the very > first request _always_ times out. > (Almost as if the machine is waking up) > > So, the only causes of trouble I can think of are : > > 1) network card. (it's a 3Com). > which do you all recommend ? I doubt it. > > 2) DNS - is handled by a DEC Alpha 500 (runnign DU) which is > possibly in need of RAM (it's handling mail, and 4 webservers, X term, > and DNS for 50 domains.... somebody once told me that each domain > should have 1 MB RAM.) > Could be DNS. try pinging with an IP address not a name. Put the IP number and domain name in /etc/hosts and put host ahead of bind in /etc/host.conf Otherwise, it could be a routing problem. The route should be static, silent (or something), permanent and not depend on routed or gated which might expire and then take time to re-establish. To tell, check the route before and after pinging. jbeukema > 3) Jammed network at the ISP > > 4) I configured it inefficiently (config files below) > > > In order to reduce the timeouts and inability to contact the > mailserver (2 complaints I am receiving), what action would > you take ? > > I'm already considering : > 1) changing the network card > 2) move the DNS to the same machine > 3) increasing the timeouts .... but I think that that is not > really a satisfactory solution but rather avoiding the real problem. > > > Apologies since this must seem so pathetic compared to the > huge systems most of you are running without problem. > Thank you very much in advance, > > Chas > > > ---------------------------- > > configuration : > > A DEC box is running the webserver and virtual domain > for our client : "company.com.my" xxx.xxx.xxx.aaa > > The FreeBSD box "mailhub.com.my" xxx.xxx.xxx.bbb > receives mail for "mail.company.com.my" > by using the changes to rule S98 in sendmail. > > > == Zone file for "company.com.my" == > > company.com.my. IN SOA us.com.my. postmaster.us.com.my. ( > 23 ; Serial > 300 ; Refresh - 5 minutes > 60 ; Retry - 1 minute > 1209600 ; Expire - 2 weeks > 43200 ) ; Minimum - 12 hours > ; > IN NS us.com.my. > IN NS relay1.jaring.my. > IN MX 10 mail > IN A xxx.xxx.xxx.aaa > www IN CNAME company.com.my. > mail IN MX 10 mail > mail IN A xxx.xxx.xxx.bbb > > > == user mapping in sendmail.db on the freebsd mail hub == > > user1@company.com.my user1 > user2@company.com.my user2 > user3@company.com.my user3 > user4@company.com.my user4 > ..etc > > > == clipped from sendmail.cf == > > Cwlocalhost > # file containing names of hosts for which we receive email > Fw-o /etc/sendmail.cw > > > == clipped from sendmail.cw == > > company.com.my > mail.company.com.my > > > > > > > > > > > > > > > > > > > > > >