nx13441a wrote:
Richard A Nelson wrote:On Wed, 16 Mar 2005, nx13441a wrote:I'm using sendmail 8.13.3-9 I'm getting:Mar 16 09:41:16 xxxxxxxx sm-mta[16412]: ruleset=check_relay, arg1=relay6.xxx.xxxx.xx, arg2=21x.5x.xxx.xx, relay=relay6.xxx.xx.xx [21x.xx.xxx.xx], reject=421 4.3.2 Connection rate limit exceeded.My sendmail.mc: define(`confCONNECTION_RATE_WINDOW_SIZE', `45m')dnlYou set the window size, but did you set the actual limit ? You can use something like this in /etc/mail/access: # Local boxen Srv_Features:127 LC Connect:127 RELAY GreetPause:127 0 ClientRate:127 0 ClientConn:127 0 # Defaults settings GreetPause: 650 ClientRate: 30 ClientConn: 15ok. Now i increase my limits. My access (xx.xx.xx my lan): GreetPause:xx.xx.xx 0 GreetPause: 5000 GreetPause:localhost 0 ClientRate:xx.xx.xx 45 ClientRate: 45 ClientRate:localhost 0 ClientConn:xx.xx.xx 50 ClientConn: 50 ClientConn:localhost 0 Connect:localhost RELAY Connect:127 RELAY Connect:xx.xx.xx RELAY Connect:yyyyy REJECT # Whitelisted users # Spam:postmaster@ FRIEND Spam:abuse@ FRIEND Spam:spam@ FRIEND # my sendmail.mc: define(`confCONNECTION_RATE_THROTTLE', `50')dnl define(`confCONNECTION_RATE_WINDOW_SIZE', `45m')dnl Is this ok? P.S. Srv_Features:127 LC what's this? Thanks
And i only have 2 "DATA" connections!!!!!root 22085 1 0 09:51 ? 00:00:00 sendmail: MTA: accepting connections root 23581 22085 0 10:09 ? 00:00:00 sendmail: MTA: j2HA9joW023581 smtp.net.vodafone.pt [212.18.160.145]: DATA
root 23626 22085 0 10:10 ? 00:00:00 sendmail: MTA: j2HAAERO023626 minho.seg-social.pt [195.245.197.204]: DATA root 23633 22085 0 10:10 ? 00:00:00 sendmail: MTA: j2HAASPD023633 smtp.net.vodafone.pt [212.18.160.145]: MAIL FROM root 23637 22085 0 10:10 ? 00:00:00 sendmail: MTA: j2HAASK9023637 squid-cache.org [206.168.0.9]: MAIL FROM root 23649 22085 0 10:10 ? 00:00:00 sendmail: MTA: j2HAAraN023649 [132.12.58.19]: MAIL FROM root 23653 22085 0 10:11 ? 00:00:00 sendmail: MTA: j2HAB47t023653 [212.12.39.21]: MAIL FROM root 23681 22085 0 10:11 ? 00:00:00 sendmail: MTA: j2HAC2no023681 [83.78.97.26]: MAIL FROM root 23682 22085 0 10:12 ? 00:00:00 sendmail: MTA: j2HAC0Gp023682 host87-78.pool80182.interbusiness.it [80.182.78.87]: MAIL FROM root 23694 22085 0 10:12 ? 00:00:00 sendmail: MTA: j2HACPju023694 relay2.ptmail.sapo.pt [212.55.154.22]: MAIL FROM root 23701 22085 0 10:12 ? 00:00:00 sendmail: MTA: j2HACVZs023701 host-216-119-183-212.vista-express.com [216.119.183.212]: MAIL FROM root 23711 22085 0 10:12 ? 00:00:00 sendmail: MTA: j2HACjIw023711 murphy.debian.org [146.82.138.6]: MAIL FROM root 23723 22085 0 10:13 ? 00:00:00 sendmail: MTA: j2HAD6FM023723 [87.34.4.83]: MAIL FROM root 23726 22085 0 10:13 ? 00:00:00 sendmail: MTA: startup with smtp.net.vodafone.pt root 23729 6719 0 10:13 tty1 00:00:00 grep MTA