diff options
| author | bwarsaw | 2001-05-09 15:06:21 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-05-09 15:06:21 +0000 |
| commit | 304cd1caaf90dc8bf13e4ea3ff7401c0261d60a8 (patch) | |
| tree | 25930ff63a661fa544ef5b4ea01a737540277210 /Mailman/Queue/ArchRunner.py | |
| parent | 6a6f712fc9efadbc677e97aa63e1fcf83372e2ee (diff) | |
| download | mailman-304cd1caaf90dc8bf13e4ea3ff7401c0261d60a8.tar.gz mailman-304cd1caaf90dc8bf13e4ea3ff7401c0261d60a8.tar.zst mailman-304cd1caaf90dc8bf13e4ea3ff7401c0261d60a8.zip | |
Diffstat (limited to 'Mailman/Queue/ArchRunner.py')
| -rw-r--r-- | Mailman/Queue/ArchRunner.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mailman/Queue/ArchRunner.py b/Mailman/Queue/ArchRunner.py index 9e005ab04..f41a38654 100644 --- a/Mailman/Queue/ArchRunner.py +++ b/Mailman/Queue/ArchRunner.py @@ -45,6 +45,7 @@ class ArchRunner(Runner): # or way in the past. clobber = 0 originaldate = msg.get('date') + receivedtime = formatdate(msgdata['received_time']) if not originaldate: clobber = 1 elif mm_cfg.ARCHIVER_CLOBBER_DATE_POLICY == 1: @@ -61,9 +62,11 @@ class ArchRunner(Runner): if clobber: del msg['date'] del msg['x-original-date'] - msg['Date'] = formatdate(msgdata['received_time']) + msg['Date'] = receivedtime if originaldate: msg['X-Original-Date'] = originaldate + # Always put an indication of when we received the message. + msg['X-List-Received-Date'] = receivedtime # # runner specific code try: |
