diff options
| author | cotton | 1998-11-23 19:43:37 +0000 |
|---|---|---|
| committer | cotton | 1998-11-23 19:43:37 +0000 |
| commit | 9c8aabd7e48a63628137d086a39e82ca12441937 (patch) | |
| tree | b32d18a912626cd7530a3d85af15d2386cf25ece /Mailman/Defaults.py.in | |
| parent | 0ec00069ff3065f02aae5385f0499fca3e148e3b (diff) | |
| download | mailman-9c8aabd7e48a63628137d086a39e82ca12441937.tar.gz mailman-9c8aabd7e48a63628137d086a39e82ca12441937.tar.zst mailman-9c8aabd7e48a63628137d086a39e82ca12441937.zip | |
Made a new system limit called SMTP_MAX_RCPTS that limits the number
of RCPT TO smtp commands can be given for a single message.
This is necessary to make large lists work with mailers that have a
maximum number of recipients per message (most do).
Defaults.py.in - added SMTP_MAX_RCPTS with default value of 500, which
i believe is conservatively small.
contact_transport - made it chunkify the recipients into chunks of <=
SMTP_MAX_RCPTS and go through the delivery process for each of those
chunks.
This change shouldn't have much effect on smaller lists at all.
scott
Diffstat (limited to 'Mailman/Defaults.py.in')
| -rw-r--r-- | Mailman/Defaults.py.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index 4a63f63ae..85edd2ddb 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -66,6 +66,13 @@ MAILMAN_OWNER = 'mailman-owner@%s' % DEFAULT_HOST_NAME # System ceiling on number of batches into which deliveries are divided: MAX_SPAWNS = 40 +# +# ceiling on the number of recipients that can be specified in a single +# smtp transaction +# +SMTP_MAX_RCPTS = 500 + + # 1 to use crypt for passwords instead of md5. # Crypt may not work on all python installs. # Don't change this value once you have lists running... @@ -275,3 +282,14 @@ VERSION = '@VERSION@' # Data file version number DATA_FILE_VERSION = 13 + + + + + + + + + + + |
