diff options
| author | bwarsaw | 2002-03-27 04:28:53 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-03-27 04:28:53 +0000 |
| commit | 5f303af2a72361447a5d33d49485effd38c94a2b (patch) | |
| tree | c974c15d7d176e21e5073d3a1f2d29fd2ef89cfa /cron | |
| parent | 2628e439cc2bf815653ba20635064db418ccc81c (diff) | |
| download | mailman-5f303af2a72361447a5d33d49485effd38c94a2b.tar.gz mailman-5f303af2a72361447a5d33d49485effd38c94a2b.tar.zst mailman-5f303af2a72361447a5d33d49485effd38c94a2b.zip | |
poll_newsgroup(): GetAdminEmail() is gone so replace this with more
appropriate addresses.
Diffstat (limited to 'cron')
| -rwxr-xr-x | cron/gate_news | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cron/gate_news b/cron/gate_news index 23020fc4f..1b90cc3f9 100755 --- a/cron/gate_news +++ b/cron/gate_news @@ -114,8 +114,11 @@ def poll_newsgroup(mlist, conn, first, last, glock): # Usenet originated messages will not have a Unix envelope # (i.e. "From " header). This breaks Pipermail archiving, so # we will synthesize one. Be sure to use the format searched - # for by mailbox.UnixMailbox._isrealfromline() - lines = ['From %s %s' % (mlist.GetAdminEmail(), + # for by mailbox.UnixMailbox._isrealfromline(). BAW: We use + # the -bounces address here in case any downstream clients use + # the envelope sender for bounces; I'm not sure about this, + # but it's the closest to the old semantics. + lines = ['From %s %s' % (mlist.GetBouncesEmail(), time.ctime(time.time()))] lines.extend(headers) lines.append('') |
