Lines Matching refs:to
4 * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
34 * sendlist - send copy to specified users
41 * send a copy of the given letter to each user specified,
42 * invoking send() to do the sending. It returns
50 * called as root or made setuid it's safer to leave this hardwired.
60 recip *to;
67 /* Deliver mail directly to a mailbox */
70 * Note failure to deliver to any one of the recipients
74 for (to = &(list->recip_list); to; to = to->next) {
75 if (to->name)
76 if (!send_mbox(to->name, letnum))
84 * and then hand the message off to sendmail
90 for (to = &(list->recip_list); to; to = to->next)
91 if (to->name)
103 /* If we're rmail add "-f", "Rpath" to the the command line */
112 for (to = &(list->recip_list); to; to = to->next)
113 if (to->name)
114 *p++ = to->name;
134 * send_mbox(user, letnum) Sends the letter specified by letnum to the
161 * We need to setgid and seteuid here since the users's mail box
163 * Note this won't work with Secure NFS/RPC's. Since delivering to
193 fprintf(stderr, "%s: Cannot append to %s\n", program, file);