Postfix maximum number of (SMTP / relay) connections

Hello,

is there an elegant way to limit the number of connections in the e-mail server?
My relay host only supports a temporary connection, but you cannot set this up in the GUI.

Or I’m blind :wink:

greetings
Gerald

Can you explain a little bit more?

What do you mean? Simultaneous connections?

Of course, I send my emails via a smart host to my DynDNS provider.

However, this only accepts an (active) connection between my Postfix server and its mail server.

He strongly advises to limit the number of connections to one.

SMTP 1
Relay 1

The problem is, when my internet connection tweaks again, all mails in the queue queue, and as soon as the connection is back, Postfix tries to send all messages at once.
However, only one after the other should be sent there.

2 Likes

Maybe @stephdl can help! :slight_smile:

1 Like

Unfortunately not via GUI (yet). You may set limits for processes and deliveries in postfix but there are a lot of options:

http://www.postfix.org/TUNING_README.html

1 Like

Please check the answer of this issue https://serverfault.com/questions/581183/postfix-limit-sending-rate

It seems that it sent one email at a time each second.

Not in front in a computer right now, hiking/riding in the mountains

2 Likes