Home
last modified time | relevance | path

Searched refs:mailname (Results 1 – 12 of 12) sorted by relevance

/freebsd/usr.bin/mail/
H A Dquit.c97 fbuf = Fopen(mailname, "r"); in quit()
173 p, p == 1 ? "" : "s", mailname); in quit()
301 abuf = Fopen(mailname, "r+"); in quit()
309 alter(mailname); in quit()
337 if ((obuf = Fopen(mailname, "r+")) == NULL) { in writeback()
338 warn("%s", mailname); in writeback()
350 warnx("%s", mailname); in writeback()
363 warn("%s", mailname); in writeback()
370 alter(mailname); in writeback()
372 printf("Held 1 message in %s\n", mailname); in writeback()
[all …]
H A Dlex.c120 strlcpy(prevfile, mailname, sizeof(prevfile)); in setfile()
121 if (name != mailname) in setfile()
122 strlcpy(mailname, name, sizeof(mailname)); in setfile()
167 ibuf = Fopen(mailname, "r"); in incfile()
634 ename = mailname; in newfileinfo()
637 if (strncmp(fname, mailname, strlen(fname)) == 0) { in newfileinfo()
639 mailname + strlen(fname)); in newfileinfo()
H A Dv7.local.c67 if (value("keep") != NULL || rm(mailname) < 0) in demail()
68 if ((fd = open(mailname, O_CREAT | O_TRUNC | O_WRONLY, 0600)) >= in demail()
H A Dglob.h52 extern char mailname[PATHSIZE]; /* Name of current file */
H A Dmain.c56 char mailname[PATHSIZE]; variable
/freebsd/usr.bin/at/
H A Dat.c211 char *ap, *ppos, *mailname; in writefile() local
318 mailname = getlogin(); in writefile()
319 if (mailname == NULL) in writefile()
320 mailname = getenv("LOGNAME"); in writefile()
322 if ((mailname == NULL) || (mailname[0] == '\0') in writefile()
323 || (strlen(mailname) >= MAXLOGNAME) || (getpwnam(mailname)==NULL)) in writefile()
327 mailname = pass_entry->pw_name; in writefile()
337 (long) real_uid, (long) real_gid, MAXLOGNAME - 1, mailname, in writefile()
/freebsd/contrib/dma/
H A Dutil.c67 if (config.mailname == NULL || !*config.mailname) in hostname()
70 if (config.mailname[0] == '/') { in hostname()
77 fp = fopen(config.mailname, "r"); in hostname()
96 snprintf(name, sizeof(name), "%s", config.mailname); in hostname()
H A Ddma.h138 const char *mailname; member
H A Dconf.c202 config.mailname = data; in parse_conf()
H A Ddma.c85 .mailname = NULL,
/freebsd/libexec/atrun/
H A Datrun.c129 char *mailname = NULL; in run_file() local
237 mailname = mailbuf; in run_file()
383 mailname, (char *) NULL); in run_file()
385 execl(MAIL_CMD, MAIL_CMD, mailname, (char *) NULL); in run_file()
/freebsd/contrib/sendmail/
H A DRELEASE_NOTES8886 typically "mailname". If there are multiple entries
10111 means that $M overrides :mailname entries in the user