File qmail-smtpd-502.patch of Package netqmail
# (C) 2011 Peter Conrad <conrad@quisquis.de>
# This file is licensed under the terms of the
# GNU General Public License Version 2. A copy of these terms should be
# enclosed as "gpl-2.0.txt" in the package containing this file.
--- netqmail-1.06/qmail-smtpd.c.orig 2011-04-29 15:39:22.000000000 +0200
+++ netqmail-1.06/qmail-smtpd.c 2011-04-29 15:39:54.000000000 +0200
@@ -81,7 +81,7 @@
out(" (#5.7.1)\r\n");
}
#endif
-void err_unimpl(arg) char *arg; { out("502 unimplemented (#5.5.1)\r\n"); }
+void err_unimpl(arg) char *arg; { out("500 unrecognized (#5.5.1)\r\n"); }
void err_syntax() { out("555 syntax error (#5.5.4)\r\n"); }
void err_wantmail() { out("503 MAIL first (#5.5.1)\r\n"); }
void err_wantrcpt() { out("503 RCPT first (#5.5.1)\r\n"); }