[Bug 596169] [NEW] max_num_recipients is out by 1

Terry Speirs su at tospeirs.net
Sat Jun 19 06:24:59 CEST 2010

Public bug reported:

I'm using mailman 2.1.12.cp3 and I notice that if I set max_num_recipients to say "2", then send an email to the list and one other address, then it bounces with a message which includes "Too many recipients to the message", and the moderator needs to release it, even though there were only 2 recipients.  If I send the message in the same way, with max_num_recipients set to "3", then the message goes through fine.
It seems to me that, instead of max_num_recipients being the "Ceiling on acceptable number of recipients for a posting", it is more like the "point at which messages will not be accepted", and (max_num_recipients + 1) is the ceiling.
I recommend the calculation be changed.  Failing that, the variable name and its description should be changed.
Thanks for your excellent software!

** Affects: mailman
     Importance: Undecided
         Status: New

** Tags: max-num-recipients

max_num_recipients is out by 1
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.

More information about the Mailman-coders mailing list