summaryrefslogtreecommitdiffstats
path: root/debian/tests/test-postfix.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 08:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 08:42:30 +0000
commite78efaf2bfcc6663589347eb78b8ba2b005f50e9 (patch)
tree2a961ba4225f1a7cbea7dda52d2b2268d79ff7c4 /debian/tests/test-postfix.py
parentMerging upstream version 3.9.0. (diff)
downloadpostfix-e78efaf2bfcc6663589347eb78b8ba2b005f50e9.tar.xz
postfix-e78efaf2bfcc6663589347eb78b8ba2b005f50e9.zip
Merging debian version 3.9.0-1~exp1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/tests/test-postfix.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/tests/test-postfix.py b/debian/tests/test-postfix.py
index b3cbdc2..4809095 100644
--- a/debian/tests/test-postfix.py
+++ b/debian/tests/test-postfix.py
@@ -256,12 +256,12 @@ mech_list: %s %s
self.assertEqual(code, 250, reply)
self.assertEqual(self.s.does_esmtp, 1, reply)
self.assertTrue(b'8BITMIME' in self.s.ehlo_resp, reply)
- # No help available
+ # Help available as of postfix 3.9
self.s.putcmd("help")
code, msg = self.s.getreply()
reply = '%d %s' % (code, msg)
- self.assertEqual(code, 500, reply)
- self.assertTrue(b'Error' in msg, reply)
+ self.assertEqual(code, 214, reply)
+ self.assertTrue(b'2.0.0 Commands:' in msg, reply)
# VRFY addresses
self._vrfy('address@example.com', valid=True)
self._vrfy('does-not-exist', valid=False)