ftpserver.pl: Moved SMTP RCPT response text into command handler

This commit is contained in:
Steve Holme 2013-09-20 21:06:45 +01:00
parent bd7d56ec71
commit eecb0e969f

View File

@ -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 {