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

/sendmail/sendmail/
H A Denvelope.c771 ** gets sent back to the user on error (because it is
934 ** Under certain circumstances allow the user to say who
936 ** 1. The user's uid is zero (root).
937 ** 2. The user's login name is in an approved list (typically
939 ** 3. The address the user is trying to claim has a
992 ** Figure out the real user executing us.
1091 SM_MBDB_T user; local
1095 /* if the user already given fullname don't redefine */
1108 sm_mbdb_lookup(e->e_from.q_user, &user) == EX_OK)
1115 if (*user
[all...]
H A Derr.c132 char *user; local
207 user = pw->pw_name;
210 user = ubuf;
218 user, errtxt);
259 ** USRERR -- Signal user error.
261 ** This is much like syserr except it is for user errors.
344 ** USRERRENH -- Signal user error.
891 ** 252 Cannot VRFY user, but will accept message and attempt delivery
H A Drecipient.c470 char buf0[MAXNAME + 1]; /* unquoted image of the user name */
633 /* get unquoted user for file, program or user.name check */
670 "550 UID %d is an unknown user: cannot mail to programs",
735 ** equal MX RR's and the same user. Calling sameaddr()
893 "550 UID %d is an unknown user: cannot mail to files",
917 /* if not aliased, look it up in the user database */
927 "Deferred: user database error");
929 new->q_message = "Deferred: user database error";
934 message("queued (user databas
972 SM_MBDB_T user; local
1305 char *user = NULL; local
1437 char *volatile user; local
2030 SM_MBDB_T user; local
[all...]
H A Dsavemail.c26 ** dead.letter in the user's home directory (if he exists on
69 SM_MBDB_T user; local
177 ** If the user is still logged in on the same terminal,
343 ** If we weren't mailing back, and the user is
355 else if (sm_mbdb_lookup(e->e_from.q_user, &user)
357 *user.mbdb_homedir != '\0')
358 p = user.mbdb_homedir;
1764 ** form: "<@[IPv6:::1]:user@host>" and the first ':' in inside
H A Dudb.c107 ** UDBEXPAND -- look up user in database and expand
141 char *user; local
166 /* extract user to do userdb matching on */
167 user = a->q_user;
171 if (user[0] == '\\')
175 if (user[0] == ':')
178 keylen = sm_strlcpyn(keybuf, sizeof(keybuf), 2, user, ":maildrop");
199 user = userbuf;
208 ** explain the type of the data, and "user" should
209 ** contain the user informatio
[all...]
H A Ddeliver.c897 message("deliverable: mailer %s, host %s, user %s",
902 message("deliverable: mailer %s, user %s",
1230 ** user on the head of the list. It is clever about mailers
1293 char *user; /* user being sent to */ local
1304 volatile bool clever = false; /* running user smtp to this mailer */
1353 sm_dprintf("\n--deliver, id=%s, mailer=%s, host=`%s', first user=`%s'\n",
1461 ** If we have no substitution for the user name in the argument
1569 user = to->q_user;
1662 stripquotes(user);
2372 char *user = NULL; local
[all...]
H A Dsrvrsmtp.c595 char *user; local
868 user = NULL;
1350 user = macvalue(macid("{auth_authen}"), e);
1357 (void **)&user);
1360 user = "";
1370 xtextify(user, "<>\")"));
1438 shortenstring(user, 128),
2740 /* If discarding, don't bother to verify user */
2938 message("252 2.5.2 Cannot VRFY user; try RCPT to attempt delivery (or try finger)");
3130 case CMDHELP: /* help -- give user inf
[all...]
H A Dmap.c6177 ** USER_MAP_OPEN -- open user map
6226 ** USER_MAP_LOOKUP -- look up a user in the passwd file.
6238 SM_MBDB_T user; local
6244 *statp = finduser(key, &fuzzy, &user);
6258 rwval = user.mbdb_name;
6267 (int) user.mbdb_uid);
6273 (int) user.mbdb_gid);
6278 rwval = user.mbdb_fullname;
6282 rwval = user.mbdb_homedir;
6286 rwval = user
[all...]
H A Dqueue.c302 ** C controlling user
986 char *user; local
1007 user = NULL;
1013 user = q->q_ruser != NULL ? q->q_ruser : q->q_user;
1026 if (uid == 0 || user == NULL || user[0] == '\0')
1030 denlstring(user, true, false), (long) uid,
4208 case 'C': /* specify controlling user */
5069 case 'C': /* controlling user */
5526 ** used as a "controlling user" fo
[all...]
/sendmail/vacation/
H A Dvacation.c70 ** message specified by the user to whomever sent the mail, taking
262 case 'U': /* run as single user mode */
299 "vacation: no such user uid %u.\n", getuid());
333 SM_MBDB_T user; local
348 err = sm_mbdb_lookup(*argv, &user);
351 msglog(LOG_ERR, "vacation: no such user %s.\n", *argv);
361 name = strdup(user.mbdb_name);
362 if (chdir(user.mbdb_homedir) != 0)
366 user.mbdb_homedir);
369 user_info.smdbu_id = user
[all...]
/sendmail/mail.local/
H A Dmail.local.c46 ** rather than set-user-ID, and they rely on the ability to "give away"
520 SM_MBDB_T user; local
522 switch (sm_mbdb_lookup(addr, &user))
988 SM_MBDB_T user; local
995 exitval = sm_mbdb_lookup(name, &user);
1066 else if (*user.mbdb_homedir == '\0')
1073 user.mbdb_homedir, HomeMailFile) >= sizeof(path))
1128 gid_t gid = user.mbdb_gid;
1157 else if (fchown(mbfd, user.mbdb_uid, gid) < 0)
1160 user
[all...]

Completed in 85 milliseconds