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. */