SCCS-vsn: usr.sbin/sendmail/src/main.c 6.28
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)main.c 6.27 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c 6.28 (Berkeley) %G%";
#endif /* not lint */
#define _DEFINE
#endif /* not lint */
#define _DEFINE
if (OpMode == MD_DAEMON || QueueIntvl != 0)
{
if (OpMode == MD_DAEMON || QueueIntvl != 0)
{
if (!tTd(0, 1))
{
FILE *pidf;
if (!tTd(0, 1))
{
FILE *pidf;
+ dtype[0] = '\0';
+ if (OpMode == MD_DAEMON)
+ strcat(dtype, "+SMTP");
+ if (QueueIntvl != 0)
+ {
+ extern char *pintvl();
+
+ strcat(dtype, "+queueing@");
+ strcat(dtype, pintvl(QueueIntvl, TRUE));
+ }
+ if (tTd(0, 1))
+ strcat(dtype, "+debugging");
+
+ syslog(LOG_INFO, "starting %s daemon", dtype);
+
# ifdef QUEUE
if (queuemode)
{
# ifdef QUEUE
if (queuemode)
{