On May 27, 2013, at 5:58 PM, Wietse Venema wrote: > CSS: >> Hello, >> >> I'm having trouble chasing down an occasional delay in our submission >> service. We run policyd to enforce sending quotas, and I sometimes >> see a 1 minute to 2 minute delay between the "connect from?" line >> in the postix log and the line from cbpolicyd that lists the > > 1) How many concurrent connections will the policy daemon handle?
Ah. Thank you. # Medium mailserver: 4, 4, 12, 25, 1000 # Large mailserver: 8, 8, 16, 64, 1000 # min_servers=4 min_spare_servers=4 max_spare_servers=12 max_servers=25 max_requests=1000 > 2) How many concurrent connections will the Postfix SMTP daemon handle? smtpd_client_connection_count_limit = 50 > The answer to 1) must not be smaller than the answer to 2), > otherwise there will be 100-second delays. smtpd_policy_service_timeout = 100s Thanks, that's obviously part of my problem. The other part is figuring out why with less than 2,000 active users I'm seeing all slots used up. Two hosts answer for 'smtp.mydomain.com', so I can accept (roughly) 100 concurrent connections. These hosts only do relay, they aren't mxers for anything, so there must be some sort of shenanigans going on here with some bots or something do auth guessing or similar. I'll break out a log analyzer and see what my connection rate looks like over time. Thanks for your help, much appreciated. Charles > > Wietse