summaryrefslogtreecommitdiff
path: root/src/mailman/testing/mta.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/testing/mta.py')
-rw-r--r--src/mailman/testing/mta.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mailman/testing/mta.py b/src/mailman/testing/mta.py
index 7481e0093..875647485 100644
--- a/src/mailman/testing/mta.py
+++ b/src/mailman/testing/mta.py
@@ -161,6 +161,11 @@ class ConnectionCountingServer(QueueServer):
log.info('[ConnectionCountingServer] accepted: %s', address)
StatisticsChannel(self, connection, address)
+ def process_message(self, peer, mailfrom, rcpttos, data):
+ # Provide a guaranteed order to recpttos.
+ QueueServer.process_message(
+ self, peer, mailfrom, sorted(rcpttos), data)
+
def reset(self):
"""See `lazr.smtp.server.Server`."""
QueueServer.reset(self)