diff options
| author | bwarsaw | 2002-05-22 02:41:06 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-05-22 02:41:06 +0000 |
| commit | efc2075896481796124958d370f9dfd3fdcb115f (patch) | |
| tree | a28ebcb176b65efc925d3f7dd5af4ec1cfb60ddb /Mailman/Message.py | |
| parent | 91759d44e44b9438db9bd77d78cb50dbceac0146 (diff) | |
| download | mailman-efc2075896481796124958d370f9dfd3fdcb115f.tar.gz mailman-efc2075896481796124958d370f9dfd3fdcb115f.tar.zst mailman-efc2075896481796124958d370f9dfd3fdcb115f.zip | |
Diffstat (limited to 'Mailman/Message.py')
| -rw-r--r-- | Mailman/Message.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mailman/Message.py b/Mailman/Message.py index 78f2dfad5..3292106b5 100644 --- a/Mailman/Message.py +++ b/Mailman/Message.py @@ -181,6 +181,11 @@ class UserNotification(Message): # Ditto for Date: which is required by RFC 2822 if not self.has_key('date'): self['Date'] = email.Utils.formatdate(localtime=1) + # UserNotifications are typically for admin messages, and for messages + # other than list explosions. Send these out as Precedence: bulk, but + # don't override an existing Precedence: header. + if not self.has_key('precedence'): + self['Precedence'] = 'bulk' # Not imported at module scope to avoid import loop from Mailman.Queue.sbcache import get_switchboard virginq = get_switchboard(mm_cfg.VIRGINQUEUE_DIR) |
