[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] mail ignores last line in stdin if it not followed b
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-mailutils] mail ignores last line in stdin if it not followed by \n |
Date: |
Wed, 04 Apr 2012 09:43:53 +0300 |
Hi Jordi,
Sorry for not being able to reply earlier. I'm quite overloaded
recently.
> Indeed, it looks like a race condition. I can talk to the MTA,
Can you try this, please:
diff --git a/testsuite/smtp-msg.at b/testsuite/smtp-msg.at
index 6ffae20..e68c939 100644
--- a/testsuite/smtp-msg.at
+++ b/testsuite/smtp-msg.at
@@ -34,6 +34,7 @@ p=`$abs_top_builddir/examples/mta -bd`
test $? -eq 0 || AT_SKIP_TEST
set -- $p
# $1 - pid, $2 - port
+sleep 1
smtpsend localhost port=$2 \
address@hidden
address@hidden
Let me know if it works for you.
> and I discovered I like the 503 message. :)
:)
Regards,
Sergey
- Re: [bug-mailutils] mail ignores last line in stdin if it not followed by \n,
Sergey Poznyakoff <=