/sendmail/cf/sh/ |
H A D | makeinfo.sh | 51 host=`hostname` 53 host=`uname -n` 55 echo '#####' built by $user@$host on `date` 58 echo "define(\`__HOST__', $host)dnl"
|
/sendmail/sendmail/ |
H A D | domain.c | 65 ** GETFALLBACKMXRR -- get MX resource records for fallback MX host. 74 ** host -- the name of the fallback MX host. 88 getfallbackmxrr(host) 89 char *host; 97 if (host == NULL || *host == '\0') 102 if (host[0] == '[') 104 fbhosts[0] = host; 114 NumFallbackMXHosts = getmxrr(host, fbhost [all...] |
H A D | sm_resolve.c | 178 char host[MAXHOSTNAMELEN]; local 192 status = dn_expand(data, data + len, p, host, sizeof(host)); 198 r->dns_r_q.dns_q_domain = sm_strdup(host); 216 status = dn_expand(data, data + len, p, host, sizeof(host)); 249 (*rr)->rr_domain = sm_strdup(host); 264 status = dn_expand(data, data + len, p, host, 265 sizeof(host)); 271 (*rr)->rr_u.rr_txt = sm_strdup(host); [all...] |
H A D | mci.c | 55 ** Vixie. It is based on the long term host status code in KJS 318 ** MCI_GET -- get information about a particular host 321 ** host -- host to look for. 325 ** mci for this host (might be new). 329 mci_get(host, m) 330 char *host; 346 s = stab(host, ST_MCI + m->m_mno, ST_ENTER); 373 host, m->m_name); 383 host, 1262 char host[MAXHOSTNAMELEN]; local [all...] |
H A D | collect.c | 811 char *host; local 815 host = RealHostName; 816 if (host == NULL) 817 host = "localhost"; 828 problem, host, 832 problem, host, 836 problem, host,
|
H A D | tls.c | 1203 ** host -- hostname of other side 1217 tls_get_info(ssl, srv, host, mac, certreq) 1220 char *host; 1280 host == NULL ? "local" : host, \ 1290 host == NULL ? "local" : host, \ 1301 host == NULL ? "local" : host, \ 1381 host [all...] |
H A D | daemon.c | 95 ** makeconnection(host, port, mci, e, enough) 96 ** Make a connection to the named host on the given 659 ** Collect verified idea of sending host. 789 /* determine host name */ 834 message("421 4.4.5 Too many SMTP sessions for this host"); 1661 syserr("554 5.3.0 host \"%s\" unknown", 1669 syserr("554 5.3.0 host \"%s\" unknown", 1693 syserr("554 5.3.0 host \"%s\" unknown", 1701 syserr("554 5.3.0 host \"%s\" unknown", 2083 ** host [all...] |
H A D | deliver.c | 304 ** set, send directly to the fallback MX host. 897 message("deliverable: mailer %s, host %s, user %s", 1116 ** COLONCMP -- compare host-signatures up to first ':' or EOS 1118 ** This takes two strings which happen to be host-signatures and 1128 ** a - first host-signature 1129 ** b - second host-signature 1206 ** If the host was not found or a temporary failure occurred 1208 ** tried it), then make one last try with it as the host. 1229 ** This routine delivers to everyone on the same host as the 1237 ** Piggybacking occurs when an existing connection to a mail host ca 1292 char *host; /* host being sent to */ local 2953 char *host = NULL; local [all...] |
H A D | map.c | 712 ** host -- the host name to look up. 713 ** hbsize -- the size of the host buffer. 718 ** true -- if the host was found. 723 getcanonname(host, hbsize, trymx, pttl) 724 char *host; 750 host, maptype[mapno]); 753 found = text_getcanonname(host, hbsize, &status); 758 found = nis_getcanonname(host, hbsize, &status); 768 found = nisplus_getcanonname(host, hbsiz 4993 char *hostlist, *host; local [all...] |
H A D | envelope.c | 1027 char *host = RealHostName; local 1029 if (host == NULL) 1030 host = MyHostName; 1033 realname, MAXNAME, host);
|
H A D | util.c | 1962 ** host -- the host to shorten (stripped in place). 1969 shorten_hostname(host) 1970 char host[]; 1978 i = strlen(host); 1979 p = &host[(i == 0) ? 0 : i - 1]; 1987 p = strchr(host, '.'); 2396 ** here. This routine is intended to be used for the host status
|
H A D | main.c | 1388 ** Find our real host name for future logging. 1521 action = "purge host status"; 1636 /* don't have persistent host status in test mode */ 1771 message("WARNING: local host name (%s) is not qualified; see cf/README: WHO AM I?", 1898 /* check host status directory for validity */ 4299 char host[MAXHOSTNAMELEN]; local 4307 else if (sm_strlcpy(host, p, sizeof(host)) >= sizeof(host)) 4313 (void) getcanonname(host, sizeo [all...] |
H A D | conf.c | 594 MAPDEF("host", NULL, 0, 700 ** INITHOSTMAPS -- initial host-dependent maps 703 ** provided by the host operating system. 712 ** Should define maps "host" and "users" as necessary 729 ** Make sure we have a host map. 732 if (stab("host", ST_MAP, ST_FIND) == NULL) 734 /* user didn't initialize: set up host map */ 735 (void) sm_strlcpy(buf, "host host", sizeof(buf)); 1730 host_t host; local 4002 char *host; local [all...] |
H A D | parseaddr.c | 34 ** net to transmit the message on, the host to transmit it 35 ** to, and a user on that host. These are loaded into an 41 ** will break up to a "user" of 'csvax.bill' and a host 163 ** Make local copies of the host & user and then 395 ** Also lowercases the host name if requested. 1480 mapname = "host"; 2013 /* extract host and user portions */ 2039 /* save away the host name */ 2121 /* figure out what host (if any) */ 2126 syserr("554 5.3.5 buildaddr: no host"); [all...] |
/sendmail/devtools/bin/ |
H A D | configure.sh | 78 host=`hostname` 80 host=`uname -n` 91 echo '#####' Built by $user@$host 101 echo "define(\`__HOST__', \`$host')dnl"
|
/sendmail/libmilter/ |
H A D | example.c | 51 char host[512]; local 67 if (gethostname(host, sizeof host) < 0) 68 snprintf(host, sizeof host, "localhost"); 74 snprintf(hbuf, sizeof hbuf, "%s@%s", p, host);
|
/sendmail/contrib/ |
H A D | expn.pl | 22 # disconnect & reconnect after 25 commands to the same sendmail 8.8.* host 112 $0 = "$av0 - lookup host FQDN and IP addr"; 116 $usage = "Usage: $av0 [-1avwd] user[\@host] [user2[host2] ...]"; 160 # do we already have an mx record for this host? 434 # there is another host to redirect to! 463 # %fallback{"$user *** $host"} tracks what is able to fallback 464 # %fellback{"$user *** $host"} tracks what has fallen back 470 local($method,$user,*host,*fall_table,*fellback) = @_; 482 print "U: $user H: $host\n"; 485 $us = "$user *** $host"; [all...] |
H A D | bitdomain.c | 202 * Validate whether the mail domain "host" is registered in the DNS. 203 * If "host" is a CNAME, it is expanded in-place if the expansion fits 208 valhost(host, hbsize) 209 char *host; 233 ret = res_querydomain(host, "", C_IN, qtype, 303 (void)strcpy(host, nbuf);
|