Author: Alexander Zangerl <az@debian.org>
Description: fakesmtp test tool doesn't always start fast enough

--- a/test/post/test-post-common.sh
+++ b/test/post/test-post-common.sh
@@ -25,11 +25,13 @@ echo "clientname: nosuchhost.example.com
 # $1: output filename for fakesmtp, i.e., the sent message
 # $2: expected output
 # $3: optional switches for send
-
+# $4: don't retry
 test_post ()
 { pid=`"${MH_OBJ_DIR}/test/fakesmtp" "$1" $localport`
 
-    run_prog send -draft -server 127.0.0.1 -port $localport $3
+	# The server doesn't always come up fast enough, so sleep a little
+	sleep 5
+	run_prog send -draft -server 127.0.0.1 -port $localport $3
 
     #
     # It's hard to calculate the exact Date: header post is going to
