Date: Sat, 18 Aug 2007 16:19:45 -0500 From: Tim Daneliuk <tundra@tundraware.com> To: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Silly Sendmail Tricks Message-ID: <46C76271.7080202@tundraware.com>
next in thread | raw e-mail | index | archive | help
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 <ruleset> <address> Inquiring minds wanna know ;) -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46C76271.7080202>