Searched refs:user (Results 1 - 19 of 19) sorted by relevance

/sendmail/cf/sh/
H A Dmakeinfo.sh44 user=`whoami`
46 user=$LOGNAME
55 echo '#####' built by $user@$host on `date`
/sendmail/libsm/
H A Dmbdb.c45 int (*mbdb_lookup) __P((char *name, SM_MBDB_T *user));
50 static int mbdb_pw_lookup __P((char *name, SM_MBDB_T *user));
57 static int mbdb_ldap_lookup __P((char *name, SM_MBDB_T *user));
155 ** user -- pointer to structure to fill in on success
158 ** On success, fill in *user and return EX_OK.
159 ** If the user does not exist, return EX_NOUSER.
165 sm_mbdb_lookup(name, user)
167 SM_MBDB_T *user;
172 ret = SmMbdbType->mbdb_lookup(name, user);
180 ** user
[all...]
/sendmail/sendmail/
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 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 Dalias.c148 ** Always deliver aliased items as the default user.
874 ** user -- the name of the user who's mail we would like
879 ** put this user's aliases in.
891 forward(user, sendq, aliaslevel, e)
892 ADDRESS *user;
902 sm_dprintf("forward(%s)\n", user->q_paddr);
904 if (!bitnset(M_HASPWENT, user->q_mailer->m_flags) ||
905 !QS_IS_OK(user->q_state))
909 if (user
[all...]
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 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 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 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...]
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 Dconf.c611 MAPDEF("user", NULL, MCF_OPTFILE,
627 /* user database */
734 /* user didn't initialize: set up host map */
1100 ** USERNAME -- return the user id of the logged in user.
1106 ** The login name of the logged in user.
1157 ** TTYPATH -- Get the path of the user's tty
1159 ** Returns the pathname of the user's tty. Returns NULL if
1160 ** the user is not logged in or if s/he has write permission
1167 ** pathname of the user'
[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...]
/sendmail/devtools/bin/
H A Dconfigure.sh71 user=`whoami`
73 user=$LOGNAME
91 echo '#####' Built by $user@$host
/sendmail/libsmutil/
H A Dsafefile.c22 ** SAFEFILE -- return 0 if a file exists and is safe for a user.
26 ** uid -- user id to compare against.
28 ** user -- user name to compare against (used for group
46 safefile(fn, uid, gid, user, flags, mode, st)
50 char *user;
96 ** If final file is set-user-ID, run as the owner of that
109 user = NULL;
129 ret = safedirpath(".", uid, gid, user,
135 ret = safedirpath(fn, uid, gid, 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...]
/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/contrib/
H A Dexpn.pl25 # 250 Kimmo Suominen <"|/usr/local/mh/lib/slocal -user kim"@grendel.tac.nyc.ny.us>
116 $usage = "Usage: $av0 [-1avwd] user[\@host] [user2[host2] ...]";
241 # do we already have a name for this user?
413 local($redirect_okay,$reason,$user) = @_;
420 # add back a user if we gave up in the middle
422 push(@users,$user) if $user;
463 # %fallback{"$user *** $host"} tracks what is able to fallback
464 # %fellback{"$user *** $host"} tracks what has fallen back
470 local($method,$user,*hos
[all...]
H A Dbuildvirtuser83 error:nouser No such user

Completed in 875 milliseconds