summaryrefslogtreecommitdiff
path: root/src/mailman/pipeline/scrubber.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-03-05 12:58:20 -0500
committerBarry Warsaw2012-03-05 12:58:20 -0500
commitf4b98f8b8e8b9fdcab8c352019f09b1469c93b24 (patch)
tree8a43643beb240ca299ffb379df8e90567b44305c /src/mailman/pipeline/scrubber.py
parent40347db84550a85f43e6befa4641693200d30509 (diff)
downloadmailman-f4b98f8b8e8b9fdcab8c352019f09b1469c93b24.tar.gz
mailman-f4b98f8b8e8b9fdcab8c352019f09b1469c93b24.tar.zst
mailman-f4b98f8b8e8b9fdcab8c352019f09b1469c93b24.zip
Fix header/footer interpolations when personalizing messages.
- When doing individual deliveries, insert a 'member' key into the copy of the metadata dictionary for this recipient's delivery. This will contain the IMember of the recipient, if the recipient is a member of the mailing list. There will still be a 'recipient' key which will contain just the email address to deliver the message to. - Remove $user_password from header/footer placeholders. - Remove the 'personalize' key from the metadata dictionary and change decorate.process() to search only for the 'member' key. No need for both of them and the 'member' key contains more information. Plus, it allows us to do a more efficient member query in the delivery module some time in the future. - Move some of the LMTP log messages from mailman.runner to mailman.smtp.
Diffstat (limited to 'src/mailman/pipeline/scrubber.py')
0 files changed, 0 insertions, 0 deletions