[Mailman-Users] Appending User's Email Address to Footer

Risto Kotalampi risto at kotalampi.com
Tue Jul 11 19:27:16 CEST 2000


On Tue, Jul 11, 2000 at 10:08:21AM -0700, Villalovos, John L wrote:
> In my quick look at the code in Mailman 2.0beta2 it did not appear that the
> SMTP_MAX_RCPTS is used anywhere.  I did this by just doing a recursive grep.
> Maybe this is a future feature or one that has been added into a newer
> version of Mailman.  My copy has the variable in the Defaults file but I
> couldn't find it anywhere else.


In 2.0beta4 that I'm using it is used and it seems to work, too.

SMTPDirect.py:

    # Split the recipient list into SMTP_MAX_RCPTS chunks.  Most MTAs have a
    # limit on the number of recipients they'll swallow in a single
    # transaction.
    if mm_cfg.SMTP_MAX_RCPTS <= 0:
        chunks = [recips]
    else:
        chunks = chunkify(recips, mm_cfg.SMTP_MAX_RCPTS)

Risto





More information about the Mailman-Users mailing list