Commit 141b70ba authored by Mark Sapiro's avatar Mark Sapiro

Merge branch 'patch-1' into 'master'

qmail-lmtp: support running mailman on a different host

Closes #571

See merge request !485
parents cade5cc2 dcacc0bb
Pipeline #55975209 passed with stages
in 20 minutes and 31 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment