Lines Matching defs:mail

84 #define	MAIL		"/usr/bin/mail"	/* mail program to use */
145 but cron was unable to mail you this output.\
241 int mailwhendone; /* 1 = send mail even if no ouptut */
316 static void mail(char *, char *, int);
681 /* for mail(1), make sure messages come from root */
816 mail(name, BADSTAT, ERR_UNIXERR);
821 mail(name, BADTYPE, ERR_NOTREG);
930 mail(name, BADSHELL, ERR_CANTEXECCRON);
936 mail(name, BADSTAT, ERR_UNIXERR);
941 mail(name, BADTYPE, ERR_CRONTABENT);
1042 mail(pw->pw_name, BADSHELL, ERR_CANTEXECAT);
1151 mail(u->name, NOREAD, ERR_UNIXERR);
1281 cte_sendmail(u->name); /* mail errors if any to user */
1356 mail(username, cte_text, ERR_CRONTABENT);
1360 * Send mail with error message to a user
1363 mail(char *usrname, char *mesg, int format)
1365 /* mail mails a user a message. */
1454 * NULL is returned, and a mail message is sent to the
2227 /* "cron" jobs only produce mail if there's output */
2239 mail((e->u)->name, BADJOBOPEN, ERR_CANTEXECAT);
2252 if (fscanf(atcmdfp, ": notify by mail: %3s%*[^\n]\n",
2255 * Check to see if we should always send mail
2344 mail((e->u)->name, BADJOBOPEN, ERR_CANTEXECCRON);
2356 mail((e->u)->name, BADJOBOPEN, ERR_CANTEXECCRON);
2376 mail((e->u)->name, BADPROJID, ERR_CANTEXECAT);
2464 mail((e->u)->name, MALLOCERR,
2470 mail((e->u)->name, NOSTDIN,
2479 mail((e->u)->name, NOSTDIN, ERR_CANTEXECCRON);
2524 mail((e->u)->name, bufs.error,
2566 mail((e->u)->name, bufs.error,
2668 /* mail user stdout and stderr */
2704 * that person. We do this so that mail won't come from root since this
2705 * could be a security hole. If failure, quit - don't send mail as root.
2738 * machine-generated mail.
2743 * Additional headers for mail filtering and diagnostics: