static char *sm_noreply = "No reply text given";
static char *sm_moreply = "; ";
-
-struct smtp sm_reply; /* global... */
+static struct smtp sm_reply;
#define MAXEHLO 20
static int doingEHLO;
-char *EHLOkeys[MAXEHLO + 1];
+static char *EHLOkeys[MAXEHLO + 1];
/*
* static prototypes
vec[vecp++] = "-ov";
vec[vecp++] = NULL;
- setgid (getegid ());
- setuid (geteuid ());
execvp (sendmail, vec);
fprintf (stderr, "unable to exec ");
perror (sendmail);
strncpy(host, inhost, sizeof(host) - 1);
}
- nmh_get_credentials (host, user, 1, &creds);
+ nmh_get_credentials (host, user, 0, &creds);
/* It's OK to copy the creds pointers here. The callbacks that
use them will only be called before this function returns. */