Searched refs:mail (Results 1 - 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/man/man3mail/
H A DMakefile19 MANSECT= 3mail
21 MANFILES= maillock.3mail
23 MANLINKS= mailunlock.3mail \
24 touchlock.3mail
26 mailunlock.3mail := LINKSRC = maillock.3mail
28 touchlock.3mail := LINKSRC = maillock.3mail
/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...]
H A DMakefile27 BINPROG= mail
54 CPROG= mail
58 ROOTMAILD= $(ROOTLIB)/mail
70 -e 's!VAR_MAIL!/var/mail!g' < $? > $@
81 # mail defines its own delete() - reduce symbols to locals to remove name clash.
96 $(ROOTBIN)/mail := FILEMODE = 02511
109 mail: $(MAILOBJS)
118 $(RM) $@; $(SYMLINK) mail $@
127 $(RM) $(OBJS) $(MAILOBJS) mail
/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 DMakefile51 ROOTETCMAILD= $(ROOTETC)/mail
58 ROOTUCBMAIL= $(ROOT)/usr/ucb/mail
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslog.conf34 *.err;kern.debug;daemon.notice;mail.crit /var/adm/messages
45 mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)
/illumos-gate/usr/src/cmd/bnu/
H A Duudemon.cleanup97 MAILDIR=/var/mail
174 ) | mail $MAILTO
186 (echo "uudemon.cleanup: unable to chdir to $LOGDIR/$i") | mail $MAILTO
227 (echo "Subject: cleanup"; echo; cat $OLD/uucleanup) | mail $MAILTO
237 # and mail.log and so forth
249 (echo "uudemon.cleanup: unable to chdir to $d") | mail $MAILTO
276 (echo "Subject: cores"; echo; cat $TMP) | mail $MAILTO
300 (echo "Subject: uucp requests"; echo; cat $TMP) | mail $MAILTO
308 (echo "Subject: uucp DENIED"; echo; cat $TMP) | mail $MAILTO
314 (echo "Subject: uu-status"; echo; cat $TMP) | mail
[all...]
H A Duudemon.admin110 (echo "Subject: uu-status"; echo; cat $TMP) | mail $MAILTO
115 (echo "Subject: passwd check"; echo; cat $TMP) | mail $MAILTO
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/ypcmd/
H A Dypxfr_2perday.sh41 ypxfr mail.aliases
/illumos-gate/usr/src/cmd/nsadmin/
H A Detc-profile.sh54 /bin/mail -E
57 echo "You have new mail."
60 echo "You have mail."
H A Dlogin.csh47 /bin/mail -E
50 echo "You have new mail."
53 echo "You have mail."
/illumos-gate/usr/src/cmd/sendmail/lib/
H A DMakefile35 ROOTETCMAIL = $(ROOTETC)/mail
64 $(RM) $@; $(SYMLINK) mail/aliases $@
H A Dsmtp-sendmail28 ERRMSG1='WARNING: /var/mail is NFS-mounted without setting actimeo=0,'
31 ALIASES_FILE="/etc/mail/aliases"
32 SENDMAIL_CF="/etc/mail/sendmail.cf"
86 # server is the name of the server to prod; a mail queue run
100 $2 == "/var/mail" && $3 == "nfs" && $4 !~ /actimeo=0/ &&
103 /usr/bin/logger -p mail.crit "$ERRMSG1"
104 /usr/bin/logger -p mail.crit "$ERRMSG2"
/illumos-gate/usr/src/cmd/sendmail/aux/
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/man/man1b/
H A DMakefile41 mail.1b \
61 Mail.1b := LINKSRC = mail.1b
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dsetadmin.c64 &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/cmd/svr4pkg/pkgremove/
H A Dquit.c59 #define MAILCMD "/usr/bin/mail"
211 /* send mail to appropriate user list */
263 if (!started || (adm.mail == NULL))
266 len = strlen(adm.mail) + sizeof (MAILCMD) + 2;
273 (void) snprintf(cmd, len, "%s %s", MAILCMD, adm.mail);
/illumos-gate/usr/src/cmd/sendmail/cf/sh/
H A Dcheck-permissions.sh78 config=/etc/mail/sendmail.cf
86 # permissions on /etc or /etc/mail . And best to check in case non-standard
/illumos-gate/usr/src/cmd/calendar/
H A Dcalendar.sh92 mail ${_user} < $tmpdir/calendar.$$
/illumos-gate/usr/src/cmd/svc/shell/
H A Dsendmail_include.sh91 m4 $m4flags /etc/mail/cf/m4/cf.m4 "$base" > "${name}.cf"
/illumos-gate/usr/src/cmd/svr4pkg/hdrs/
H A Dinstall.h71 #define MAILCMD "/usr/bin/mail"
86 char *mail; member in struct:admin
/illumos-gate/usr/src/cmd/ypcmd/net_files/
H A DMakefile61 ALIASES = /etc/mail/aliases
244 @cp $(ALIASES) $(YPDBDIR)/$(DOM)/mail.aliases;
245 @/usr/lib/sendmail -bi -oA$(YPDBDIR)/$(DOM)/mail.aliases;
246 $(MKALIAS) $(YPDBDIR)/$(DOM)/mail.aliases $(YPDBDIR)/$(DOM)/mail.byaddr;
247 @rm $(YPDBDIR)/$(DOM)/mail.aliases;
250 @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) mail.aliases; fi
251 @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) mail.byaddr; fi
/illumos-gate/usr/src/cmd/sendmail/cf/
H A DMakefile39 ROOTETCMAIL = $(ROOTETC)/mail
162 $(RM) $(ROOTLIB)/mail
163 $(SYMLINK) ../../etc/mail/cf $(ROOTLIB)/mail
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dquit.c301 /* send mail to appropriate user list */
430 if (!installStarted || pkgaskFlag || (adm.mail == NULL)) {
434 len = strlen(adm.mail) + sizeof (MAILCMD) + 2;
441 (void) snprintf(cmd, len, "%s %s", MAILCMD, adm.mail);

Completed in 216 milliseconds

12