Lines Matching refs:BlankEnvelope

107 ENVELOPE	BlankEnvelope;	/* a "blank" envelope */  variable
536 BlankEnvelope.e_puthdr = putheader;
537 BlankEnvelope.e_putbody = putbody;
538 BlankEnvelope.e_xfp = NULL;
539 STRUCTCOPY(NullAddress, BlankEnvelope.e_from);
540 CurEnv = &BlankEnvelope;
548 setdefaults(&BlankEnvelope);
549 initmacros(&BlankEnvelope);
739 init_vendor_macros(&BlankEnvelope);
742 macdefine(&BlankEnvelope.e_macro, A_PERM, 'v', Version);
760 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'w', jbuf);
761 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'j', jbuf);
766 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'm', &p[1]);
780 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'k', p);
849 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'b', arpadate((char *) NULL));
879 BlankEnvelope.e_bodytype = newstr(optarg);
925 BlankEnvelope.e_hopcount = (short) strtol(optarg, &ep,
928 BlankEnvelope.e_hopcount);
929 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'c', buf);
950 macdefine(&BlankEnvelope.e_macro, A_TEMP,
975 &BlankEnvelope);
979 setoption(' ', optarg, false, true, &BlankEnvelope);
993 macdefine(&BlankEnvelope.e_macro,
1002 macdefine(&BlankEnvelope.e_macro, A_HEAP,
1140 if (bitset(EF_RET_PARAM, BlankEnvelope.e_flags))
1146 BlankEnvelope.e_flags |= EF_RET_PARAM;
1148 BlankEnvelope.e_flags |= EF_NO_BODY_RETN;
1154 macdefine(&BlankEnvelope.e_macro, A_TEMP,
1166 BlankEnvelope.e_smtputf8 = true;
1179 BlankEnvelope.e_envid = newstr(optarg);
1180 macdefine(&BlankEnvelope.e_macro, A_TEMP,
1215 setoption(j, "T", false, true, &BlankEnvelope);
1220 setoption(j, optarg, false, true, &BlankEnvelope);
1224 setoption('f', "T", false, true, &BlankEnvelope);
1262 if (macvalue(macid("{daemon_flags}"), &BlankEnvelope) == NULL)
1263 macdefine(&BlankEnvelope.e_macro, A_PERM,
1271 if (macvalue(macid("{daemon_flags}"), &BlankEnvelope) == NULL)
1272 macdefine(&BlankEnvelope.e_macro, A_PERM,
1283 vendor_pre_defaults(&BlankEnvelope);
1286 safecf, &BlankEnvelope);
1290 vendor_post_defaults(&BlankEnvelope);
1447 macdefine(&BlankEnvelope.e_macro, A_TEMP, '_', authinfo);
1450 if (BlankEnvelope.e_errormode != EM_PRINT)
1454 expand("\201m", jbuf, sizeof(jbuf), &BlankEnvelope);
1469 expand(PidFile, pidpath, sizeof(pidpath), &BlankEnvelope);
1477 xputs(sm_debug_file(), macvalue('w', &BlankEnvelope));
1479 xputs(sm_debug_file(), macvalue('j', &BlankEnvelope));
1481 xputs(sm_debug_file(), macvalue('m', &BlankEnvelope));
1483 xputs(sm_debug_file(), macvalue('k', &BlankEnvelope));
1494 auth_warning(&BlankEnvelope, "Processed by %s with -C %s",
1497 auth_warning(&BlankEnvelope, "Processed from queue %s",
1505 i = check_bodytype(BlankEnvelope.e_bodytype);
1508 usrerr("Illegal body type %s", BlankEnvelope.e_bodytype);
1509 BlankEnvelope.e_bodytype = NULL;
1512 BlankEnvelope.e_flags |= EF_7BITBODY;
1686 BlankEnvelope.e_flags |= EF_METOO;
1698 BlankEnvelope.e_errormode = EM_PRINT;
1703 BlankEnvelope.e_errormode = EM_PRINT;
1719 vendor_daemon_setup(&BlankEnvelope);
1733 BlankEnvelope.e_errormode = EM_PRINT;
1775 setoption('c', "F", true, false, &BlankEnvelope);
1778 setoption('d', "", true, false, &BlankEnvelope);
1804 (p = macvalue('e', &BlankEnvelope)) != NULL)
1812 (p = macvalue('l', &BlankEnvelope)) != NULL)
1820 expand("\201j", jbuf, sizeof(jbuf), &BlankEnvelope);
2029 (void) dropenvelope(&BlankEnvelope, true, false);
2050 (void) dropenvelope(&BlankEnvelope, true, false);
2099 macdefine(&BlankEnvelope.e_macro, A_PERM,
2101 BlankEnvelope.e_envid = NULL;
2102 macdefine(&BlankEnvelope.e_macro, A_PERM,
2104 BlankEnvelope.e_flags &= ~(EF_RET_PARAM|EF_NO_BODY_RETN);
2105 macdefine(&BlankEnvelope.e_macro, A_PERM,
2128 CurEnv = newenvelope(&MainEnvelope, &BlankEnvelope,
2130 MainEnvelope.e_flags = BlankEnvelope.e_flags;
2357 if (OpMode == MD_DAEMON && SM_TRIGGER == BlankEnvelope.e_sendmode)
2444 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2457 if (SM_TRIGGER == BlankEnvelope.e_sendmode)
2656 macdefine(&BlankEnvelope.e_macro, A_PERM,
2672 macdefine(&BlankEnvelope.e_macro, A_TEMP, '_', authinfo);
2720 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2724 macdefine(&BlankEnvelope.e_macro, A_PERM,
2726 macdefine(&BlankEnvelope.e_macro, A_PERM,
2728 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2750 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2760 CurEnv = &BlankEnvelope;
2763 &BlankEnvelope),
2764 &BlankEnvelope);
2765 if (bitset(EF_DISCARD, BlankEnvelope.e_flags))
3086 if (OpMode == MD_DAEMON && SM_TRIGGER == BlankEnvelope.e_sendmode)