From owner-freebsd-questions Tue Feb 15 14: 1: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from boris.netgate.net (boris.netgate.net [204.145.147.154]) by builder.freebsd.org (Postfix) with ESMTP id 8C727508E for ; Tue, 15 Feb 2000 12:27:48 -0800 (PST) Received: from localhost (wellsian@localhost) by boris.netgate.net (8.9.3/8.9.3) with ESMTP id MAA22779; Tue, 15 Feb 2000 12:26:53 -0800 (PST) (envelope-from wellsian@caffeine.com) Date: Tue, 15 Feb 2000 12:26:53 -0800 (PST) From: wellsian X-Sender: wellsian@boris.netgate.net To: Victor M Cc: questions@FreeBSD.ORG Subject: Re: sendmail In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This probably exists somewhere, perhaps with inetd or such, but I don't know of an option to limit sendmail connections by host. (I think qmail and postix have this option.) Still, there are global limits which should help. Try the ConnectionRateThrottle option. your mc file: define('confCONNECTION_RATE_THROTTLE', num) or... straight into your cf file: O ConnectionRateThrottle=num num==The maximum number of connections/second you want to allow. Zero (or not setting the option at all) means no limit. Hopefully 1/second is granular enough for your connection. There's also a MaxDaemonChildren option but it makes sendmail DOS attacks easy. I'm assuming you're behind a modem or something so in your case setting both is probably okay though I haven't tried it and have read lots of warnings. The sendmail book doesn't like it either. I recommend the sendmail (bat) book if you find yourself doing much with sendmail. isbn 1-56592-222-0 Dave On Tue, 15 Feb 2000, Victor M wrote: > Hi! > > My channel to the Internet is often heavily overloaded. > When I was researching the cause of it I noticed that my SMTP server > gets a lot of incoming mail. > > I want to know is there any way to limit the number of SIMULTANEOUS > connections from ONE remote mail server to my sendmail version 8.9.3. > > Thank You. > > Victor. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message