Lines Matching full:user

104 		log_trace(TRACE_EXPAND, "expand: ~/.forward failed for user %s",  in lka_session_forward_reply()
105 fwreq->user); in lka_session_forward_reply()
113 "for user %s on forward-only rule", fwreq->user); in lka_session_forward_reply()
118 "for user %s and no default action on rule", fwreq->user); in lka_session_forward_reply()
123 "user %s, just deliver", fwreq->user); in lka_session_forward_reply()
130 /* expand for the current user and rule */ in lka_session_forward_reply()
138 "forward error for user %s", fwreq->user); in lka_session_forward_reply()
144 "for user %s on forward-only rule", fwreq->user); in lka_session_forward_reply()
149 "for user %s and no default action on rule", fwreq->user); in lka_session_forward_reply()
154 "for user %s, just deliver", fwreq->user); in lka_session_forward_reply()
272 xn->u.mailaddr.user, xn->u.mailaddr.domain, xn->depth); in lka_expand()
282 ep.sender.user[0] == '\0' && in lka_expand()
283 (strncasecmp(ep.dest.user, "SRS0=", 5) == 0 || in lka_expand()
284 strncasecmp(ep.dest.user, "SRS1=", 5) == 0)) { in lka_expand()
320 xlowercase(maddr.user, xn->u.mailaddr.user, in lka_expand()
321 sizeof maddr.user); in lka_expand()
345 xlowercase(node.u.user, xn->u.mailaddr.user, in lka_expand()
346 sizeof node.u.user); in lka_expand()
354 xn->u.user, xn->depth, xn->sameuser); in lka_expand()
365 r = aliases_get(&lks->expand, xn->u.user); in lka_expand()
380 if ((tag = strchr(xn->u.user, *env->sc_subaddressing_delim)) != NULL) { in lka_expand()
386 r = table_lookup(userbase, K_USERINFO, xn->u.user, &lk); in lka_expand()
389 "backend error while searching user"); in lka_expand()
395 "user-part does not match system user"); in lka_expand()
404 "user, submitting"); in lka_expand()
410 /* when alternate delivery user is provided, in lka_expand()
413 if (dsp->u.local.user) { in lka_expand()
414 if (strcmp(dsp->u.local.user, xn->u.user) != 0) { in lka_expand()
416 "alternate delivery user mismatch recipient " in lka_expand()
417 "user, skip .forward, submitting"); in lka_expand()
430 (void)strlcpy(fwreq.user, lk.userinfo.username, sizeof(fwreq.user)); in lka_expand()
512 const char *user; in lka_submit() local
538 (void)strlcpy(ep->mda_user, xn->u.user, sizeof(ep->mda_user)); in lka_submit()
542 user = !xn->parent->realuser ? in lka_submit()
544 xn->parent->u.user; in lka_submit()
545 (void)strlcpy(ep->mda_user, user, sizeof (ep->mda_user)); in lka_submit()