SCCS-vsn: usr.sbin/sendmail/src/main.c 6.23
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)main.c 6.22 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c 6.23 (Berkeley) %G%";
#endif /* not lint */
#define _DEFINE
#endif /* not lint */
#define _DEFINE
** Do basic system initialization and set the sender
*/
** Do basic system initialization and set the sender
*/
+ /* make sendmail immune from process group signals */
+ (void) setpgrp(0, getpid());
+
initsys(CurEnv);
setsender(from, CurEnv);
initsys(CurEnv);
setsender(from, CurEnv);