diff options
| author | cotton | 1998-11-11 15:34:44 +0000 |
|---|---|---|
| committer | cotton | 1998-11-11 15:34:44 +0000 |
| commit | d342f934b83c586b493489ed853b36f423416209 (patch) | |
| tree | 16ad14f7442bd009c8bdfe2162af924fee745fae | |
| parent | 81ca509d4e874250e23e88225d18b0dccd3898d9 (diff) | |
| download | mailman-d342f934b83c586b493489ed853b36f423416209.tar.gz mailman-d342f934b83c586b493489ed853b36f423416209.tar.zst mailman-d342f934b83c586b493489ed853b36f423416209.zip | |
added post logging.
scott
| -rw-r--r-- | Mailman/MailList.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py index 60a9dd240..cfb64a401 100644 --- a/Mailman/MailList.py +++ b/Mailman/MailList.py @@ -1038,6 +1038,9 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin, def DeliveryEnabled(x, s=self, v=mm_cfg.DisableDelivery): return not s.GetUserOption(x, v) recipients = filter(DeliveryEnabled, recipients) + self.LogMsg("post", "post to %s from %s size=%d", + self._internal_name, msg.GetSender(), len(msg.body)) + self.DeliverToList(msg, recipients, header = self.msg_header % self.__dict__, footer = self.msg_footer % self.__dict__) |
