![](https://secure.gravatar.com/avatar/954bc49aec1a4e4ce9b032903707ca1e.jpg?s=120&d=mm&r=g)
Patches item #1287921, was opened at 2005-09-11 11:00 Message generated for change (Settings changed) made by msapiro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1287921&group_id=103 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: mail delivery Group: Mailman 2.1 Status: Closed
Resolution: Fixed Priority: 5 Submitted By: Mark Sapiro (msapiro) Assigned to: Mark Sapiro (msapiro) Summary: post log entries show envelope sender, not From:
Initial Comment: The interpolation dictionary used with the SMTPDirect.py log messages includes 'sender' which is obtained with the Message.get_sender() method. If mm_cfg.USE_ENVELOPE_SENDER is Yes, this method returns the envelope sender which, since this is an outgoing message, is always the listname-bounces address. Since 'listname' is already in the dictionary, this is redundant. It would be more useful, at least for lists which aren't anonymous, to override this behavior and get the sender with get_sender(use_envelope=0) which would return the From: address. The patch makes this change. ---------------------------------------------------------------------- Comment By: Mark Sapiro (msapiro) Date: 2005-11-12 16:01 Message: Logged In: YES user_id=1123998 This has been fixed differently from the patch that was here. The patch would always use the From:, but the fix correctly calls msg.get_sender() without forcing use_envelope=0; it just does it earlier. The fix is in CVS. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1287921&group_id=103