summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/CookHeaders.py
diff options
context:
space:
mode:
authorbwarsaw2002-03-12 00:45:12 +0000
committerbwarsaw2002-03-12 00:45:12 +0000
commit97d0914133dac3114793b8400ed467be35ea5f2f (patch)
treed412a3ddaa6b1709a8578ecdc0718fc0ff0dfcec /Mailman/Handlers/CookHeaders.py
parent664b1347422ed2b5603cf2e658b301bf8bfeec87 (diff)
downloadmailman-97d0914133dac3114793b8400ed467be35ea5f2f.tar.gz
mailman-97d0914133dac3114793b8400ed467be35ea5f2f.tar.zst
mailman-97d0914133dac3114793b8400ed467be35ea5f2f.zip
Diffstat (limited to 'Mailman/Handlers/CookHeaders.py')
-rw-r--r--Mailman/Handlers/CookHeaders.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/Mailman/Handlers/CookHeaders.py b/Mailman/Handlers/CookHeaders.py
index 5a07633e5..1d6e4cb25 100644
--- a/Mailman/Handlers/CookHeaders.py
+++ b/Mailman/Handlers/CookHeaders.py
@@ -95,12 +95,7 @@ def process(mlist, msg, msgdata):
# Set Reply-To: an explicit address, but only if reply_to_address is a
# valid email address. BAW: this really should be validated on input.
elif mlist.reply_goes_to_list == 2:
- try:
- Utils.ValidateEmail(mlist.reply_to_address)
- except Errors.EmailAddressError:
- pass
- else:
- replyto.append(('', mlist.reply_to_address))
+ replyto.append(('', mlist.reply_to_address))
# If we're not first stripping existing Reply-To: then we need to add
# the original Reply-To:'s to the list we're building up. In both
# cases we'll zap the existing field because RFC 2822 says max one is