diff options
| author | bwarsaw | 2001-08-04 02:06:06 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-08-04 02:06:06 +0000 |
| commit | 3f33536dc41826eddb48321f7ca60637263e1fff (patch) | |
| tree | c57098bbe839345fd3a02953823647531a32a168 | |
| parent | 93fd87862637276b6e6e7c7b6f308ec187c512f7 (diff) | |
| download | mailman-3f33536dc41826eddb48321f7ca60637263e1fff.tar.gz mailman-3f33536dc41826eddb48321f7ca60637263e1fff.tar.zst mailman-3f33536dc41826eddb48321f7ca60637263e1fff.zip | |
| -rw-r--r-- | contrib/rotatelogs.py | 6 |
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: |
