Lines Matching defs:mail
35 * cksaved() looks to see if there is a saved-mail file sitting
37 * around only in the case of a crash during rewriting a mail message.
41 * mail twice than to lose it.
46 #include "mail.h"
53 char save[MAXFILENAME], mail[MAXFILENAME];
55 cat(mail, maildir, user);
70 if (stat(mail, &stbuf) != 0) {
77 if (link(save, mail) != 0) {
89 if (rename(save, mail) != 0) {
97 "echo \"Your mailfile was just restored by the mail "
99 "to 0660.\"| mail %s", user);
104 if ((Ostream = fopen(mail, "a")) == NULL) {
107 program, mail);
128 "echo \"Your mail save file has just been appended "
129 "to your mail box by the mail program.\" | mail %s", user);
133 * Try to send mail to the user whose file