On Sat, Nov 16, 2024 at 09:02:28AM +0100, Danjel Jungersen via Postfix-users wrote:
> > $ postconf -d default_destination_recipient_limit > > default_destination_recipient_limit = 50 > > > >The customer can still send mail to 100s of recipients, you'll just > >deliver such messages as multiple "envelopes", 50 at a time. > > > >So a 1000 recipient message will result in 20 deliveries (if all to the > >same nexthop). > > Is it "dangerous" to set this to a very low low number? > Say 1 The documentation, and common sense are relevant. The value "1" is special, and should be used only for transports where "1" is the only correct value (delivery to channels, often via pipe(8), that can't atomically perform a delivery to multiple recipients, or delivery via local(8)). http://www.postfix.org/postconf.5.html#default_destination_recipient_limit default_destination_recipient_limit (default: 50) The default maximal number of recipients per message delivery. This is the default limit for delivery via the lmtp(8), pipe(8), smtp(8) and virtual(8) delivery agents. Setting this parameter to a value of 1 affects email deliveries as follows: It changes the meaning of the corresponding per-destination concurrency limit, from concurrency of deliveries to the same domain into concurrency of deliveries to the same recipient. Different recipients are delivered in parallel, subject to the process limits specified in master.cf. It changes the meaning of the corresponding per-destination rate delay, from the delay between deliveries to the same domain into the delay between deliveries to the same recipient. Again, different recipients are delivered in parallel, subject to the process limits specified in master.cf. It changes the meaning of other corresponding per-destination settings in a similar manner, from settings for delivery to the same domain into settings for delivery to the same recipient. Use transport_destination_recipient_limit to specify a transport-specific override, where transport is the master.cf name of the message delivery transport. > Besides that it will make many connections and put extra load on the > server? This is the common sense part. Keep it reasonably high, unless the destination in question is one of those that feels entitled to ignore RFC5321 and imposes a lower than the required 100 ad hoc recipient limit. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org