Page 1 of 1
SQL Grey / Postfix Throttling - Fix
Posted: 24 Mar 2016 17:37
by sharktech
Hi all
After upgrading to 3.0.0.9 I had the issue of tonnes of emails being throttled by postfix and sqlgrey. From what me and shawn can find it looks to be new functionality within postfix 3.
the log shows :
Mar 24 17:30:31 spam sqlgrey: grey: throttling: x.x.x.x, bounce25817.1630988@domain.site -> email@domain.co.uk
Mar 24 17:30:31 spam postfix/smtpd[20083]: NOQUEUE: reject: RCPT from domain.site[x.x.x.x]: 451 4.7.1 <email@domain.co.uk>: Recipient address rejected: Throttling too many connections from new source - Try again later.; from=<bounce25817.1630988@domain.site> to=<email@domain.co.uk> proto=ESMTP helo=<dartmone.site
I fixed mine by adding
smtpd_client_connection_rate_limit = 0 to /etc/postfix/main.cf
This disabled throttling totally so I would probably set it to a high number like 100 and see how you go.
Cheers
Re: SQL Grey / Postfix Throttling - Fix
Posted: 05 Apr 2016 16:09
by cardins2u
Im getting the same eerror but this fix doesn't fix it. Any suggestion?
Re: SQL Grey / Postfix Throttling - Fix
Posted: 05 Apr 2016 16:28
by cardins2u
this happens with amazon servers and hotmail address.
inbound emails get thottle and rejeceted
Re: SQL Grey / Postfix Throttling - Fix
Posted: 01 Jul 2016 14:01
by bostjanc
Hi guys.
What is the proper solution?
We have the same issue here.
Putting that line in postfix main.cf also did not help us.
We have even put that problematic domain:
-ON WHITELIST
-ON GREYLIST / OPT OUT DOMAIN
but messages get throttling into infinity.
Restarting EFA did not help.
After the restart it saids that message will be greylisted for 5 minutes, but then it goes into throttling mode again

PLEASE HELP!
Jul 1 13:19:32 efa postfix/smtpd[32219]: NOQUEUE: reject: RCPT from mail-bl2nam02on0118.outbound.protection.outlook.com[104.47.38.118]: 451 4.7.1 <
MY-MAIL@MY-DOMAIN.com>: Recipient address rejected: Greylisted for 5 minutes; from=<
SENDER@HISDOMAIN.com> to=<
MY-MAIL@MY-DOMAIN.com
> proto=ESMTP helo=<NAM02-BL2-obe.outbound.protection.outlook.com>
Jul 1 14:20:32 efa sqlgrey: grey: throttling: 104.47.32(104.47.32.111),
SENDER@HISDOMAIN.com ->
MY-MAIL@MY-DOMAIN.com
Jul 1 14:20:32 efa postfix/smtpd[12669]: NOQUEUE: reject: RCPT from mail-sn1nam01on0111.outbound.protection.outlook.com[104.47.32.111]: 451 4.7.1 <
MY-MAIL@MY-DOMAIN.com>: Recipient address rejected: Throttling too many connections from new source - Try again later.; from=<
SENDER@HISDOMAIN.com> to=<
MY-MAIL@MY-DOMAIN.com
> proto=ESMTP helo=<NAM01-SN1-obe.outbound.protection.outlook.com>
Re: SQL Grey / Postfix Throttling - Fix
Posted: 04 Jul 2016 10:55
by shawniverson
Take a look at this:
/etc/sqlgrey/sqlgrey.conf
Code: Select all
## Throttling too many new entries from new host
# Setting this optional parameter will refuse an excessive number of
# new entries in the connect table from the same host, in the following
# manner:
# - If there are already "connect_src_throttle" entries in the connect
# table from the same host (e-mails which have not been retried yet)
# - And there is NO entry for this host in domain_awl
# - And there are LESS than "connect_src_throttle" entries in the
# from_awl table for this host
# THEN further incoming connections from this host will be (temporarily)
# refused without new entries being created in the connect table (until
# some already waiting entries have been successfully retried).
# This feature may prevent the connect table from growing too big and
# being polluted by spambots, viruses, zombie machines and the like.
# If set to "0" (default), this feature won't be used.
connect_src_throttle = 5
Re: SQL Grey / Postfix Throttling - Fix
Posted: 05 Jul 2016 08:18
by bostjanc
Thank you very much for the reply.
Changing the value (connect_src_throttle = 5) to 0 and restarting the sqlgrey did the trick.
Now mails got delivered.
There is still one unsolved mistery to me, why does this domain even if it's ON GREYLIST / OPT OUT DOMAIN, still being greylisted?
Thank you again.
With best regards