Mark Sapiro pushed to branch master at GNU Mailman / Mailman Core


Commits:
dcacc0bb by Michael Lutonsky at 2019-03-26T15:41:20Z
qmail-lmtp: support running mailman on a different host
- - - - -
141b70ba by Mark Sapiro at 2019-04-09T16:29:40Z
Merge branch 'patch-1' into 'master'

qmail-lmtp: support running mailman on a different host

Closes #571

See merge request mailman/mailman!485
- - - - -


1 changed file:

- contrib/qmail-lmtp


Changes:

=====================================
contrib/qmail-lmtp
=====================================
@@ -10,7 +10,8 @@ try:
     import sys
     import os
 
-    lmtp = smtplib.LMTP("localhost", int(sys.argv[1]))
+    lmtp_host = sys.argv[3] if len(sys.argv) > 3 else 'localhost'
+    lmtp = smtplib.LMTP(lmtp_host, int(sys.argv[2]))
 
     try:
         # See <http://www.qmail.org/man/man8/qmail-command.html> for qmail 
command



View it on GitLab: 
https://gitlab.com/mailman/mailman/compare/cade5cc26f4c410e649db761bed337fa2672fcfb...141b70ba7a814d8d35f9df0528f715240f6e9ae3

-- 
View it on GitLab: 
https://gitlab.com/mailman/mailman/compare/cade5cc26f4c410e649db761bed337fa2672fcfb...141b70ba7a814d8d35f9df0528f715240f6e9ae3
You're receiving this email because of your account on gitlab.com.


_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to