aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ftpserver.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index 88fd265fe..57da857cb 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -630,7 +630,6 @@ sub protocolsetup {
'QUIT' => \&QUIT_smtp,
);
%displaytext = (
- 'RCPT' => '200 Receivers accepted',
'welcome' => join("",
'220- _ _ ____ _ '."\r\n",
'220- ___| | | | _ \| | '."\r\n",
@@ -874,7 +873,13 @@ sub DATA_smtp {
sub RCPT_smtp {
my ($args) = @_;
+ logmsg "RCPT_smtp got $args\n";
+
$smtp_rcpt = $args;
+
+ sendcontrol "200 Receivers accepted\r\n";
+
+ return 0;
}
sub HELO_smtp {