maximum outbound mail per domain in efa

Questions and answers about how to do stuff
Post Reply
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

maximum outbound mail per domain in efa

Post by bostjanc »

Hi guys.
Using EFA.
- Is there a way to limit maximum outbound sending mail?
- What is Efa's currently default limit?

We recieve an error message when we wish to send messages to outlook.com and hotmail.com:

(host hotmail-com.olc.protection.outlook.com[104.47.32.33] said: 451 4.7.500 Server busy. Please try again later from [OUR-IP]. (AS3110) (in reply to RCPT TO command))
The mail server [OUR-IP] has exceeded the maximum number of connections
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: maximum outbound mail per domain in efa

Post by shawniverson »

Yes :D

On my outbound relay, I have mine restricted due to Verizon only wanting one connection at a time. Here's my settings:

/etc/postfix/main.cf

Code: Select all

default_destination_concurrency_limit = 20
initial_destination_concurrency = 5
/etc/postfix/master.cf

Code: Select all

# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (no)    (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -        1       smtpd
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

Re: maximum outbound mail per domain in efa

Post by bostjanc »

Thanks for the reply.
What that basically does if setting it to 1?
Can you make an example.

For example if we wish to send 100 messages to hotmail.com users with that setting, how will it do it?
with best regards
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: maximum outbound mail per domain in efa

Post by shawniverson »

bostjanc wrote: 03 May 2018 18:45 Thanks for the reply.
What that basically does if setting it to 1?
Can you make an example.

For example if we wish to send 100 messages to hotmail.com users with that setting, how will it do it?
with best regards
Basically, that causes postfix to use a single daemon to send mail, which many mx's regard as more friendly, at the expense of loss of parallelism.

If you want to send 100 messages at once, you would adjust default_destination_concurrency_limit = 100 to instruct the daemon to send that many over a single postfix session.
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

Re: maximum outbound mail per domain in efa

Post by bostjanc »

Thanks for the reply man!
So your suggestion would be to reconfigure that option to be more "polite"?
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: maximum outbound mail per domain in efa

Post by shawniverson »

Yes
Post Reply