Home
last modified time | relevance | path

Searched refs:mailfile (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/cmd/mail/
H A Dcopyback.c54 stat(mailfile, &stbuf); in copyback()
61 malf = doopen(mailfile, "r", E_FILE); in copyback()
104 (void) strlcpy(savefile, mailfile, sizeof (savefile)); in copyback()
144 if (unlink(mailfile) != 0) { in copyback()
150 if (rename(savefile, mailfile) != 0) { in copyback()
155 if (link(savefile, mailfile) != 0) { in copyback()
170 delempty(stbuf.st_mode, mailfile); in copyback()
H A Dprintmail.c76 if (((mailfile = getenv("MAIL")) == NULL) || in printmail()
77 (strlen(mailfile) == 0)) { in printmail()
79 mailfile = p; in printmail()
81 if (strcmp(mailfile, p) != 0) { in printmail()
85 mailfile); in printmail()
99 if (access(mailfile, A_EXIST) == A_OK) { in printmail()
100 if ((stret = stat(mailfile, stbufp)) != A_OK) { in printmail()
114 malf = fopen(mailfile, "r"); in printmail()
122 "Invalid permissions on %s", mailfile); in printmail()
214 stat(mailfile, stbufp); in printmail()
[all …]
H A Dstamp.c37 if ((access(mailfile, A_EXIST) == A_OK) && (utimep->modtime != -1)) in stamp()
38 if (utime(mailfile, utimep) != A_OK) in stamp()
H A Dparse.c114 mailfile = optarg; in parse()
235 if (mailfile[0] == '-') { in parse()
H A Dmail.h278 extern int areforwarding(char *mailfile);
408 extern char *mailfile; /* pointer to mailfile */
H A Dinit.c187 char *mailfile; /* pointer to mailfile */ variable
H A Dgethead.c85 "%d newly arrived\n", nlet, mailfile, changed, nlet - onlet); in gethead()
/titanic_41/usr/src/cmd/sendmail/src/
H A Dsavemail.c380 mailfile(dlbuf, FileMailer, NULL, sff, e) == EX_OK)
H A Dsendmail.h2455 extern int mailfile __P((char *volatile, MAILER *volatile, ADDRESS *, volatile long, ENVELOPE *));
H A Ddeliver.c1707 rcode = mailfile(buf, m, ctladdr, SFF_CREAT, e);
5097 mailfile(filename, mailer, ctladdr, sfflags, e) in mailfile() function