From owner-freebsd-questions@FreeBSD.ORG Fri Oct 30 13:04:17 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 9886A106568D for ; Fri, 30 Oct 2009 13:04:17 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 421038FC1C for ; Fri, 30 Oct 2009 13:04:17 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 47877EB473E; Fri, 30 Oct 2009 15:04:16 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 37FF645152; Fri, 30 Oct 2009 15:04:16 +0200 (EET) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xcj-RcMEXcdn; Fri, 30 Oct 2009 15:04:16 +0200 (EET) Received: from kobe.laptop (adsl26-237.kln.forthnet.gr [77.49.153.237]) by mail.ceid.upatras.gr (Postfix) with ESMTP id F0949450C6; Fri, 30 Oct 2009 15:04:15 +0200 (EET) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n9UD4EAj063458 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 30 Oct 2009 15:04:14 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n9UD4DQT063437; Fri, 30 Oct 2009 15:04:13 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Aflatoon Aflatooni References: <148565.58717.qm@web56207.mail.re3.yahoo.com> Date: Fri, 30 Oct 2009 15:04:13 +0200 In-Reply-To: <148565.58717.qm@web56207.mail.re3.yahoo.com> (Aflatoon Aflatooni's message of "Thu, 29 Oct 2009 21:50:06 -0700 (PDT)") Message-ID: <87ocnpm3si.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Sendmail SMTP server outgoing email rate 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: Fri, 30 Oct 2009 13:04:17 -0000 On Thu, 29 Oct 2009 21:50:06 -0700 (PDT), Aflatoon Aflatooni wrote: > Hi, > Is there a way that I could configure sendmail so that I could control > the rate of outgoing emails? > > For example if there are 2 outbound emails destined for Yahoo.com > server then they would be sent one connection at a time so that it is > not flooding their server. > > Also, is there a limit on the incoming connection for sendmail? Yes, there is a limit for the incoming connections. See the description of "confCONNECTION_RATE_THROTTLE" and "confCONNECTION_RATE_WINDOW_SIZE" in "/usr/share/sendmail/cf/README". For outgoing connections Sendmail only supports throttling based on the load average of the system, at least AFAIK. So you will probably have to use some sort of connection rate-limiting in your firewall if you want to limit the number of outgoing connections.