SCCS-vsn: usr.sbin/sendmail/src/srvrsmtp.c 8.65
-static char sccsid[] = "@(#)srvrsmtp.c 8.64 (Berkeley) %G% (with SMTP)";
+static char sccsid[] = "@(#)srvrsmtp.c 8.65 (Berkeley) %G% (with SMTP)";
-static char sccsid[] = "@(#)srvrsmtp.c 8.64 (Berkeley) %G% (without SMTP)";
+static char sccsid[] = "@(#)srvrsmtp.c 8.65 (Berkeley) %G% (without SMTP)";
#endif
#endif /* not lint */
#endif
#endif /* not lint */
{
register FILE *hf;
int len;
{
register FILE *hf;
int len;
+ char buf[MAXLINE];
+ extern char Version[];
+
if (HelpFile == NULL || (hf = fopen(HelpFile, "r")) == NULL)
{
/* no help */
errno = 0;
if (HelpFile == NULL || (hf = fopen(HelpFile, "r")) == NULL)
{
/* no help */
errno = 0;
- message("502 HELP not implemented");
+ message("502 Sendmail %s -- HELP not implemented", Version);
return;
}
if (topic == NULL || *topic == '\0')
return;
}
if (topic == NULL || *topic == '\0')
+ message("214-This is Sendmail version %s", Version);
+ noinfo = FALSE;
+ }
while (fgets(buf, sizeof buf, hf) != NULL)
{
while (fgets(buf, sizeof buf, hf) != NULL)
{