<domain>criticalrestart required
By itself it limits nothing. It decides what counts as the sending address for the source-ip-max-* family: source-ip-max-smtp-out, source-ip-max-connect-rate, source-ip-max-msg-rate and source-ip-max-data-volume-rate.
Two different addresses. The local one is the one brought up on the node’s network interface. The outgoing one is the one the message arrives at the receiver from. Without a proxy they are the same address, and the switch affects nothing. Through a proxy they diverge: there is one local address for all, and as many outgoing ones as have been rented.
What happens by default. The default is false: limits are counted per local address — and the manual stresses that this happens regardless of whether a proxy is used or not. Behind a proxy this means that all rented addresses share one counter, and per-address limits stop meaning what they were written for.
true moves the counting to the address the receiver sees — to the proxy’s client address, and without a proxy to the same local one. So enabling it is safe both ways: where there is no proxy, the behavior does not change.
Sending directly — leave it false. There is no difference, and a restart for nothing is not worth it.
Sending through a proxy — set true, otherwise the family’s four limits become meaningless: they will count one local address for the whole fleet of rented ones.
Better to set it right away. The value is worth setting when the node is put into service, while a restart costs nothing: on a working node it interrupts receiving and forces the spool to be reread.
# the switch is written in the general block — it concerns the whole node, not a domain <domain *> enable-source-ip-limits-on-sending-ip true source-ip-max-msg-rate 0.0.0.0/0 600/m </domain>
what people get wrong and how it ends2 mistakes▶
§ 3.3.10.86
§ 3.3.10.86
5 relations
source-ip-max-smtp-out<domain>One of the four directives whose meaning this switch determines. § 3.3.10.86source-ip-max-connect-rate<domain>One of the four directives whose meaning this switch determines. § 3.3.10.86source-ip-max-msg-rate<domain>One of the four directives whose meaning this switch determines. § 3.3.10.86source-ip-max-data-volume-rate<domain>One of the four directives whose meaning this switch determines. § 3.3.10.86
grep -rn enable-source-ip-limits-on-sending-ip /etc/pmta/ pmta show status | grep -i uptime
3 articles
◇The sending address — what it is made ofA named set of everything that is a property of the address: which IP the message leaves from, how the node introduces itself, what it signs with and how fast it sends.◇The sender names the stream for each messageThe message carries the name of the stream it should be sent through — the choice is made by the submitting program, not by the node configuration.◇Cloud restrictionsClouds restrict outbound mail on port 25 until you ask them to lift the limit, and mailbox providers treat their address ranges with suspicion.