summaryrefslogtreecommitdiff
path: root/mailman/queue/lmtp.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-01-04 19:41:05 -0500
committerBarry Warsaw2009-01-04 19:41:05 -0500
commitf6d998b93b0dd8978eadc9abc4c3964e3fe66bf7 (patch)
treefc64f36b862ae61965e8d23fd00e56dcac1a5ee3 /mailman/queue/lmtp.py
parent706c3853103f53955068cc429c0bd6d1f8fb6dd0 (diff)
downloadmailman-f6d998b93b0dd8978eadc9abc4c3964e3fe66bf7.tar.gz
mailman-f6d998b93b0dd8978eadc9abc4c3964e3fe66bf7.tar.zst
mailman-f6d998b93b0dd8978eadc9abc4c3964e3fe66bf7.zip
Diffstat (limited to 'mailman/queue/lmtp.py')
-rw-r--r--mailman/queue/lmtp.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/mailman/queue/lmtp.py b/mailman/queue/lmtp.py
index 1f45732a3..f52c99fae 100644
--- a/mailman/queue/lmtp.py
+++ b/mailman/queue/lmtp.py
@@ -34,7 +34,6 @@ See the variable USE_LMTP in Defaults.py.in for enabling this delivery
mechanism.
"""
-import os
import email
import smtpd
import logging
@@ -194,8 +193,8 @@ class LMTPRunner(Runner, smtpd.SMTPServer):
msgdata['tolist'] = True
queue = 'in'
elif subaddress == 'request':
- msgdata['torequest'] = True
- queue = 'command'
+ msgdata['torequest'] = True
+ queue = 'command'
else:
elog.error('Unknown sub-address: %s', subaddress)
status.append(ERR_550)