From 059ae587e30a7e07e004e6c34ae9c7f6a406931d Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Fri, 23 Jun 2000 07:48:26 +0000 Subject: ParseMailCommands(): Use mm_cfg.LIKELY_BOUNCE_SENDERS instead of hard-coded list (see change in qrunner). --- Mailman/MailCommandHandler.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Mailman/MailCommandHandler.py') diff --git a/Mailman/MailCommandHandler.py b/Mailman/MailCommandHandler.py index 83e4d3113..c29bdea63 100644 --- a/Mailman/MailCommandHandler.py +++ b/Mailman/MailCommandHandler.py @@ -131,9 +131,7 @@ class MailCommandHandler: sender = string.split(sender, "@")[0] # # XXX: why 'orphanage'? - if sender in ['daemon', 'nobody', 'mailer-daemon', 'postmaster', - 'orphanage', 'postoffice']: - # + if sender in mm_cfg.LIKELY_BOUNCE_SENDERS: # This is for what are probably delivery-failure notices of # subscription confirmations that are, of necessity, bounced # back to the -request address. -- cgit v1.2.3-70-g09d2