summaryrefslogtreecommitdiff
path: root/contrib/rotatelogs.py
diff options
context:
space:
mode:
authorbwarsaw2001-08-04 02:06:06 +0000
committerbwarsaw2001-08-04 02:06:06 +0000
commit3f33536dc41826eddb48321f7ca60637263e1fff (patch)
treec57098bbe839345fd3a02953823647531a32a168 /contrib/rotatelogs.py
parent93fd87862637276b6e6e7c7b6f308ec187c512f7 (diff)
downloadmailman-3f33536dc41826eddb48321f7ca60637263e1fff.tar.gz
mailman-3f33536dc41826eddb48321f7ca60637263e1fff.tar.zst
mailman-3f33536dc41826eddb48321f7ca60637263e1fff.zip
Diffstat (limited to 'contrib/rotatelogs.py')
-rw-r--r--contrib/rotatelogs.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/rotatelogs.py b/contrib/rotatelogs.py
index 9308a0e52..927098013 100644
--- a/contrib/rotatelogs.py
+++ b/contrib/rotatelogs.py
@@ -92,8 +92,10 @@ for log in ( 'error', 'smtp-failures' ):
# send message if we've actually found anything
if textSend:
text = string.join(text, '\n') + '\n'
- Utils.SendTextToUser('Mailman Log Report -- %s' % time.ctime(time.time()),
- text, mm_cfg.MAILMAN_OWNER, mm_cfg.MAILMAN_OWNER)
+ siteowner = Utils.get_site_email()
+ Utils.SendTextToUser(
+ 'Mailman Log Report -- %s' % time.ctime(time.time()),
+ text, siteowner, siteowner)
# compress any log-files we made
if hasattr(mm_cfg, 'COMPRESS_LOGFILES_WITH') and mm_cfg.COMPRESS_LOGFILES_WITH: