(void) fprintf(out, "Subject: not allowed mail\n");
(void) fprintf(out, "\n'%s'\nis not allowed to send mail with UUCP/BSMTP trough the \n'%s'\nAsk your local system administrator for more help\n\n",from,hostdomain);
(void) fprintf(out, "======= text of message follows =======\n");
/*
** Copy input.
*/
while(fgets(buf, sizeof(buf), spoolfp) != NULL) {
(void) fputs(buf, out);
}
(void) fclose(out);
system(cmd);
remove(tmpname);
remove(my_stderrfile);
}
@
1.14
log
@check_site() parameters corrected
Recieved lines are written for mails with sendmail too