diff options
| author | klm | 1998-09-03 19:18:41 +0000 |
|---|---|---|
| committer | klm | 1998-09-03 19:18:41 +0000 |
| commit | 2c587d0121511fa18d57f16dd1780d0f85cdfede (patch) | |
| tree | de7e773f668b56ccdb946b1ab1fd9d29d2d1da7e | |
| parent | 3f8d9844378e3ac23e93e8d9874f5ec01fcb3ef9 (diff) | |
| download | mailman-2c587d0121511fa18d57f16dd1780d0f85cdfede.tar.gz mailman-2c587d0121511fa18d57f16dd1780d0f85cdfede.tar.zst mailman-2c587d0121511fa18d57f16dd1780d0f85cdfede.zip | |
Include a default which designates the maximum number of mail command
lines for processing. (Large, misdirected mail commands can lead to
near-thrash conditions, while the MailCommandHandler slogs through,
misguidedly trying to process many many lines...)
Starting with a value of 25 - sort of arbitrary, but it seems like
more than enough.
[Meant to check this in before the dependent change to
MailCommandsHandler.py - but first mistakenly applied the changes
directly to Defaults.py rather than Defaults.py.in.]
| -rw-r--r-- | Mailman/Defaults.py.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index 95f2c4aa5..b9b2a005d 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -68,6 +68,9 @@ DEFAULT_MSG_FOOTER = """_______________________________________________ %(web_page_url)slistinfo/%(_internal_name)s """ +# Mail command processor will ignore mail command lines after designated max. +DEFAULT_MAIL_COMMANDS_MAX_LINES = 25 + # List Accessibility Defaults # # Is admin notified of admin requests immediately by mail, as well as by |
