Searched refs:jbuf (Results 1 - 4 of 4) sorted by relevance

/sendmail/sendmail/
H A Dmain.c192 char jbuf[MAXHOSTNAMELEN]; /* holds MyHostName */ local
713 hp = myhostname(jbuf, sizeof(jbuf));
714 if (jbuf[0] != '\0')
719 sm_dprintf("Canonical name: %s\n", jbuf);
720 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'w', jbuf);
721 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'j', jbuf);
722 setclass('w', jbuf);
724 p = strchr(jbuf, '.');
735 makelower(jbuf);
[all...]
H A Ddaemon.c189 char jbuf[MAXHOSTNAMELEN]; local
191 expand("\201j", jbuf, sizeof(jbuf), e);
192 j_has_dot = strchr(jbuf, '.') != NULL;
270 char jbuf[MAXHOSTNAMELEN]; local
272 expand("\201j", jbuf, sizeof(jbuf), e);
273 if (!wordinclass(jbuf, 'w'))
280 else if (j_has_dot && strchr(jbuf, '.') == NULL)
H A Dreadcf.c989 char jbuf[MAXHOSTNAMELEN]; local
993 expand("\201j", jbuf, sizeof(jbuf), &BlankEnvelope);
994 if (jbuf[0] == '\0')
996 (void) sm_strlcpy(jbuf, "localhost",
997 sizeof(jbuf));
1013 mn, lc, jbuf);
H A Dmap.c3929 char jbuf[MAXHOSTNAMELEN]; local
3933 expand("\201j", jbuf, sizeof(jbuf), &BlankEnvelope);
3934 if (jbuf[0] == '\0')
3936 (void) sm_strlcpy(jbuf, "localhost",
3937 sizeof(jbuf));
3951 lc, jbuf);

Completed in 234 milliseconds