Home
last modified time | relevance | path

Searched refs:CurEnv (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/src/
H A Derr.c185 if (!panic && CurEnv != NULL)
187 char *nmsg = sm_rpool_strdup_x(CurEnv->e_rpool, errtxt);
189 if (CurEnv->e_rpool == NULL && CurEnv->e_message != NULL)
190 sm_free(CurEnv->e_message);
191 CurEnv->e_message = nmsg;
216 CurEnv == NULL ? NOQID : CurEnv->e_id,
299 errtxt = fmtmsg(MsgBuf, CurEnv->e_to, "550", enhsc, 0, fmt, ap);
310 if (CurEnv->e_message != NULL)
317 if (CurEnv->e_rpool == NULL && CurEnv->e_message != NULL)
318 sm_free(CurEnv->e_message);
[all …]
H A Dmain.c526 CurEnv = &BlankEnvelope;
1317 if (SuperSafe == SAFE_INTERACTIVE && CurEnv->e_sendmode != SM_DELIVER)
1570 CurEnv->e_id = NULL;
2075 CurEnv = newenvelope(&MainEnvelope, &BlankEnvelope,
2208 disconnect(2, CurEnv);
2239 sm_setproctitle(true, CurEnv, "Queue control");
2433 sm_setproctitle(true, CurEnv, "Queue control");
2533 sm_setproctitle(true, CurEnv, qtype);
2638 saved_env = CurEnv;
2639 CurEnv = &BlankEnvelope;
[all …]
H A Dutil.c1249 sm_syslog(LOG_DEBUG, CurEnv->e_id, "unlink %s", f);
1254 sm_syslog(LOG_DEBUG, CurEnv->e_id, "%s: unlink-fail %d",
1315 sm_syslog(LOG_NOTICE, CurEnv->e_id,
1733 sm_syslog(LOG_DEBUG, CurEnv->e_id,
1953 sm_syslog(LOG_DEBUG, CurEnv ? CurEnv->e_id : NULL,
1993 mydom = macvalue('m', CurEnv);
2351 sm_syslog(LOG_NOTICE, CurEnv ? CurEnv->e_id : NULL,
2700 sm_syslog(LOG_DEBUG, CurEnv->e_id, in proc_list_probe()
H A Dmap.c807 (macvalue('m', CurEnv) != NULL || strchr(host, '.') != NULL))
845 d = macvalue('m', CurEnv);
953 char *domain = macvalue('m', CurEnv);
1380 sm_syslog(LOG_INFO, CurEnv->e_id, "dns %.100s => %s",
3130 sm_syslog(LOG_WARNING, CurEnv->e_id,
3235 sm_syslog(LOG_WARNING, CurEnv->e_id,
3261 domain = macvalue('m', CurEnv);
3441 sm_syslog(LOG_NOTICE, CurEnv->e_id,
3788 sm_syslog(LOG_INFO, CurEnv->e_id,
3942 lc = macvalue(macid("{sendmailMTACluster}"), CurEnv);
[all …]
H A Ddomain.c1069 if (CurEnv->e_message == NULL)
1077 CurEnv->e_message =
1079 CurEnv->e_rpool, ebuf);
H A Dalias.c726 if (parseaddr(line, &al, RF_COPYALL, ':', NULL, CurEnv, true)
763 &delimptr, CurEnv, true)
858 CurEnv->e_to = NULL;
H A Denvelope.c99 if (e == CurEnv)
105 (char *) &CurEnv->e_from,
138 if (CurEnv->e_xfp != NULL)
139 (void) sm_io_flush(CurEnv->e_xfp, SM_TIME_DEFAULT);
H A Dmci.c107 sm_syslog(LOG_DEBUG, CurEnv->e_id,
215 sm_syslog(LOG_DEBUG, CurEnv->e_id,
649 sm_syslog(LOG_DEBUG, CurEnv->e_id, "%.1000s", buf);
H A Dparseaddr.c680 char *saveto = CurEnv->e_to;
693 OperatorChars = macvalue('o', CurEnv);
698 CurEnv);
725 CurEnv->e_to = p;
756 CurEnv->e_to = saveto;
956 CurEnv->e_to = saveto;
H A Dsrvrsmtp.c494 e = newenvelope(e, CurEnv, sm_rpool_new_x(NULL)); \
495 CurEnv = e; \
2080 sm_syslog(LOG_INFO, CurEnv->e_id,
2121 sm_syslog(LOG_INFO, CurEnv->e_id,
3767 oldid = CurEnv->e_id;
3768 CurEnv->e_id = id;
3782 CurEnv->e_id = oldid;
3864 CurEnv = e;
H A Dsavemail.c512 ENVELOPE *oldcur = CurEnv;
698 CurEnv = ee;
712 CurEnv = oldcur;
H A Dreadcf.c992 lc = macvalue(macid("{sendmailMTACluster}"), CurEnv);
997 expand(lc, lcbuf, sizeof(lcbuf), CurEnv);
1104 pid = prog_open(argv, &fd, CurEnv);
2805 macdefine(&CurEnv->e_macro, A_TEMP, mid, p);
2825 CurEnv->e_flags |= EF_OLDSTYLE;
2827 CurEnv->e_flags &= ~EF_OLDSTYLE;
H A Dqueue.c2011 CurEnv = &QueueEnvelope;
2013 e = newenvelope(&QueueEnvelope, CurEnv, rpool);
2091 sm_setproctitle(true, CurEnv, "running queue: %s",
2295 e = newenvelope(&QueueEnvelope, CurEnv, rpool);
2304 sm_setproctitle(true, CurEnv, "running queue: %s",
2372 e = newenvelope(&QueueEnvelope, CurEnv, rpool);
3869 CurEnv = &e;
3895 CurEnv = el;
H A Ddaemon.c3027 sm_syslog(LOG_INFO, CurEnv->e_id, "stopping daemon, reason=%s", in shutdown_daemon()
3950 CurEnv->e_status = "4.4.3";
3980 if (CurEnv->e_sendmode == SM_DEFER &&
4105 CurEnv->e_status = "4.4.3";
H A Dusersmtp.c750 pid = prog_open(argv, &fd, CurEnv);
1949 macvalue('j', CurEnv));
3195 (void) sm_io_fprintf(CurEnv->e_xfp,
H A Ddeliver.c138 CurEnv = e;
768 CurEnv = ee;
774 CurEnv = e;
1346 CurEnv = e; /* just in case */
5731 CurEnv->e_sendmode == SM_DEFER)
H A Dudb.c609 if (_udbx_init(CurEnv) == EX_TEMPFAIL)
H A Dsendmail.h2382 EXTERN ENVELOPE *CurEnv; /* envelope currently being processed */ variable
H A Dmilter.c1319 (void) milter_open(m, true, CurEnv);