Searched defs:mail (Results 1 - 11 of 11) sorted by relevance
/illumos-gate/usr/src/cmd/mail/ |
H A D | cksaved.c | 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]; local 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 " [all...] |
/illumos-gate/usr/src/cmd/mailx/ |
H A D | receipt.c | 58 char *mail, *s; local 61 if ((mail = value("sendmail")) == 0) 63 mail = SENDMAIL; 65 mail = MAIL; 69 snprintf(buf, sizeof (buf), "%s %s", mail, skin(nameof(mp)));
|
H A D | send.c | 44 * mail program 144 * This happens in uucp style mail where 279 mail(char **people) function 346 * Send mail to a bunch of user names. The interface is through 347 * the mail routine below. 366 * Send mail to a bunch of user names. The interface is through 367 * the mail routine below. 415 * Collect user's mail from standard input. 509 * fork, set up the temporary mail file as standard 510 * input for "mail" an [all...] |
/illumos-gate/usr/src/cmd/sendmail/aux/ |
H A D | Makefile | 32 LIBPROG= mail.local smrsh 48 mail.local := LDLIBS += -lsocket -lnsl -lmail -lldap 83 mail.local: mail.local.o ../libsmutil/libsmutil.a ../libsm/libsm.a 84 $(LINK.c) mail.local.o -o $@ $(LDLIBS) ../libsmutil/libsmutil.a \ 115 install: all $(ROOTPROG) $(ROOTLIB)/mail.local $(ROOTLIB)/smrsh \
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | setadmin.c | 64 &adm.mail, "mail", 134 int mail = 0; local 161 if (strcmp(param, "mail") == 0) { 162 mail = 1; 183 if (!mail) { 184 adm.mail = DEFMAIL; /* if we don't assign anything to it */
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | main.c | 507 register char *mail; local 518 if((mail=nv_getval(MAILPNOD)) || (mail=nv_getval(MAILNOD))) 523 chkmail(shp,mail);
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | grades.c | 50 static void mailAdmin(); /* Send mail to administrator. */ 403 * mailAdmin - mail a message to the uucp administrator. 416 char cmd[BUFSIZ]; /* Place to build mail command. */ 417 FILE * mail; /* Channel to write mail on. */ local 420 if ((mail = popen(cmd, "w")) != (FILE *) NULL) 422 (void) fprintf(mail, "To: uucp\nSubject: %s\n\n%s\n", 424 (void) pclose(mail);
|
/illumos-gate/usr/src/cmd/svr4pkg/hdrs/ |
H A D | install.h | 71 #define MAILCMD "/usr/bin/mail" 86 char *mail; member in struct:admin
|
/illumos-gate/usr/src/cmd/su/ |
H A D | su.c | 111 static char mail[30] = { "MAIL=/var/mail/" }; variable 511 (void) strlcat(mail, name, sizeof (mail)); 512 envinit[++envidx] = mail;
|
/illumos-gate/usr/src/cmd/login/ |
H A D | login.c | 239 static char mail[30] = { "MAIL=/var/mail/" }; variable 2284 envinit[basicenv++] = mail; 2285 (void) strlcat(mail, pwd->pw_name, sizeof (mail));
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | cron.c | 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(nam 1363 mail(char *usrname, char *mesg, int format) function [all...] |
Completed in 67 milliseconds