<domain>
How much data may be transferred to this recipient per interval from a given sending address. It is useful where messages differ in weight: a thousand messages of ten kilobytes and a thousand of a megabyte are completely different loads on the receiver, and a limit on the number of messages does not see that difference.
It counts what was delivered, not attempts. This is the only directive in the family with such a count: the manual says the volume of successful deliveries goes toward the limit. Bounces and retries do not use up the volume — unlike source-ip-max-msg-rate, where an attempt counts on a par with a delivery.
The mask comes first, and each address gets the number. What counts as a sending address is decided by enable-source-ip-limits-on-sending-ip.
The numerator has size suffixes: b — bytes, k — kilobytes, m — megabytes, g — gigabytes, t — terabytes. The denominator has time units and an optional multiplier: 10g/2h is ten gigabytes per two hours.
The directive will be useful where the receiver or the channel is limited by bandwidth rather than by the number of messages: mailings with attachments, a narrow uplink, a rented proxy billed by traffic.
Calculate from the average message weight. Take the planned message rate and multiply it by the average size: a thousand messages an hour at 60 KB is about 60 MB an hour, that is, 60m/h. Setting a volume limit without knowing the weight is pointless.
A volume limit is the second line of defense, not the first. Receivers count messages and connections, not bytes; volume is worth limiting when the bottleneck is the channel or traffic billing, not the recipient’s attitude.
The suffix is mandatory. A number without a suffix is bytes, and such a line almost completely stops sending.
The default is unlimited: there is no volume limit.
# messages have attachments — limit the bandwidth, not the number of messages <domain comcast.net> source-ip-max-data-volume-rate 1.2.3.0/30 2g/h</domain>
what people get wrong and how it ends3 mistakes▶
§ 3.3.10.94
§ 3.3.10.94
our experience
2 relations
grep -rn source-ip-max-data-volume-rate /etc/pmta/ pmta show queues --maxitems=20
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.