From owner-freebsd-questions@FreeBSD.ORG Sat Aug 18 21:19:52 2007 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 D951816A41A for ; Sat, 18 Aug 2007 21:19:52 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [66.92.130.199]) by mx1.freebsd.org (Postfix) with ESMTP id 79EE313C469 for ; Sat, 18 Aug 2007 21:19:52 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.1/8.14.1) with ESMTP id l7ILJlGT039965 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Sat, 18 Aug 2007 16:19:48 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <46C76271.7080202@tundraware.com> Date: Sat, 18 Aug 2007 16:19:45 -0500 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-tundraware.com-MailScanner-Information: Please contact the ISP for more information X-tundraware.com-MailScanner: Found to be clean X-tundraware.com-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Silly Sendmail Tricks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2007 21:19:52 -0000 Under FreeBSD 4.11-STABLE, among other things, I had this in my access file: # Throttling Defaults # GreetPause: 2000 # Set in the .mc file ClientRate: 10 ClientConn: 10 # Don't throttle 127.0.0.1 or LAN traffic GreetPause:127.0.0.1 0 # Time to wait before 220 msg ClientRate:127.0.0.1 0 # Connections/interval ClientConn:127.0.0.1 0 # Concurrent connections GreetPause:192.168.0 0 # Time to wait before 220 msg ClientRate:192.168.0 0 # Connections/interval ClientConn:192.168.0 0 # Concurrent connections Now, I've switched to FreeBSD 6.2-STABLE and it seems that the semantic of "0 means no limiting" is no longer supported. With the configuration above, the system starts throttling traffic generated on the localhost when, say, a mailing list manager starts firing off a bunch of message. I have to change things to: ClientRate:127.0.0.1 1000 # Connections/interval ClientConn:127.0.0.1 1000 # Concurrent connections (I've not changed things for 192.168.0/24 because nothing on that network sends email directly - or they shouldn't be - it all is routed via the FreeBSD host.) This fixed things - I can now send large volumes of email from localhost. But, I wonder why the old setting does not work. Did something change in the semantics of sendmail since 4.11 that could have caused this? Under 6.2 I have this for sendmail, BTW: Version 8.14.1 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG ============ SYSTEM IDENTITY (after readcf) ============ (short domain name) $w = xxx (canonical domain name) $j = xxx.xxx.xxx (subdomain name) $m = xxx.xxx (node name) $k = xxx.xxx.xxx ======================================================== ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter
Inquiring minds wanna know ;) -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/