summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2000-04-10 21:29:27 +0000
committerbwarsaw2000-04-10 21:29:27 +0000
commit85ab58f5898db482f6ca44453c694f3734c50547 (patch)
tree709364b327284a267955f81f3840bb6e76070cf1
parent74bfc5fd71f75f48679d424eed9f321ed5763f3b (diff)
downloadmailman-85ab58f5898db482f6ca44453c694f3734c50547.tar.gz
mailman-85ab58f5898db482f6ca44453c694f3734c50547.tar.zst
mailman-85ab58f5898db482f6ca44453c694f3734c50547.zip
process(): Nigel Metheringham points out that the wrong address was
being passed to the -f flag. Use the mailing list's admin address.
-rw-r--r--Mailman/Handlers/Sendmail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/Sendmail.py b/Mailman/Handlers/Sendmail.py
index 297c44bb7..f24ed5627 100644
--- a/Mailman/Handlers/Sendmail.py
+++ b/Mailman/Handlers/Sendmail.py
@@ -56,7 +56,7 @@ def process(mlist, msg):
# nothing to do!
return
# Use -f to set the envelope sender
- cmd = mm_cfg.SENDMAIL_CMD + ' -f ' + msg.GetSender() + ' '
+ cmd = mm_cfg.SENDMAIL_CMD + ' -f ' + mlist.GetAdminEmail() + ' '
# make sure the command line is of a manageable size
recipchunks = []
currentchunk = []