Searched defs:mail (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/mail/
H A Dcksaved.c35 * 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 Dreceipt.c58 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 Dsend.c45 * mail program
145 * This happens in uucp style mail where
280 mail(char **people) function
347 * Send mail to a bunch of user names. The interface is through
348 * the mail routine below.
367 * Send mail to a bunch of user names. The interface is through
368 * the mail routine below.
416 * Collect user's mail from standard input.
510 * fork, set up the temporary mail file as standard
511 * input for "mail" an
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dsetadmin.c64 &adm.mail, "mail",
131 int mail = 0; local
158 if (strcmp(param, "mail") == 0) {
159 mail = 1;
180 if (!mail) {
181 adm.mail = DEFMAIL; /* if we don't assign anything to it */
/illumos-gate/usr/src/cmd/sendmail/util/
H A DMakefile32 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/lib/libshell/common/sh/
H A Dmain.c507 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 Dgrades.c50 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 Dinstall.h75 #define MAILCMD "/usr/bin/mail"
90 char *mail; member in struct:admin
/illumos-gate/usr/src/cmd/su/
H A Dsu.c111 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 Dlogin.c239 static char mail[30] = { "MAIL=/var/mail/" }; variable
2285 envinit[basicenv++] = mail;
2286 (void) strlcat(mail, pwd->pw_name, sizeof (mail));
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c81 #define MAIL "/usr/bin/mail" /* mail program to use */
142 but cron was unable to mail you this output.\
238 int mailwhendone; /* 1 = send mail even if no ouptut */
313 static void mail(char *, char *, int);
677 /* for mail(1), make sure messages come from root */
812 mail(name, BADSTAT, ERR_UNIXERR);
817 mail(name, BADTYPE, ERR_NOTREG);
926 mail(name, BADSHELL, ERR_CANTEXECCRON);
932 mail(nam
1366 mail(char *usrname, char *mesg, int format) function
[all...]

Completed in 281 milliseconds