2013-09-22 21:12:20 +02:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SMTP with invalid --mail-rcpt
|
|
|
|
</name>
|
|
|
|
<stdin>
|
|
|
|
From: different
|
|
|
|
To: another
|
|
|
|
|
|
|
|
body
|
|
|
|
</stdin>
|
|
|
|
<command>
|
2013-09-29 17:48:02 +02:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/916 --mail-rcpt invalid --mail-from sender@example.com -T -
|
2013-09-22 21:12:20 +02:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
2013-11-24 13:33:21 +01:00
|
|
|
# 55 - CURLE_SEND_ERROR
|
2013-09-22 21:12:20 +02:00
|
|
|
<errorcode>
|
|
|
|
55
|
|
|
|
</errorcode>
|
|
|
|
<protocol>
|
2013-09-29 10:53:49 +02:00
|
|
|
EHLO 916
|
2013-09-29 17:48:02 +02:00
|
|
|
MAIL FROM:<sender@example.com>
|
2013-09-22 21:12:20 +02:00
|
|
|
RCPT TO:<invalid>
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|