From 3272afe4571cc0c3c8cf01eafba0d0bd238983a2 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Tue, 1 May 2001 06:08:30 +0000 Subject: main(): Set the message metadata `received_time' to the current time. Note that ToArchive.py will set this if it isn't present in the metadata already, however that might incur hold and other delays. --- scripts/auto | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/auto') diff --git a/scripts/auto b/scripts/auto index cb0c8d461..602547c21 100644 --- a/scripts/auto +++ b/scripts/auto @@ -27,6 +27,7 @@ import sys import os +import time import paths from Mailman import mm_cfg @@ -101,7 +102,10 @@ def main(): return EX_NOUSER inq = get_switchboard(mm_cfg.INQUEUE_DIR) - inq.enqueue(sys.stdin.read(), listname=listname, **{subdest: 1}) + inq.enqueue(sys.stdin.read(), + listname=listname, + received_time=time.time(), + **{subdest: 1}) return 0 -- cgit v1.3.1