Searched refs:addr (Results 1 - 18 of 18) sorted by relevance

/sendmail/contrib/
H A Ddoublebounce.pl49 my($addr);
52 ($addr) = $hdr =~ m/<(.*)>/;
53 $addr =~ s/.*\@//;
54 return $addr;
56 if ($addr =~ /\s*\(/) {
57 ($addr) = $hdr =~ m/\s*(.*)\s*\(/;
58 $addr =~ s/.*\@//;
59 return $addr;
61 ($addr) = $hdr =~ m/\s*(.*)\s*/;
62 $addr
[all...]
H A Dbounce-resender.pl58 my($addr) = @_;
59 $addr =~ s/_FNORD_/ /g;
61 $addr =~ s/^(.*)\([^\)]*\)(.*)$/$1$2/
62 if $addr =~ /^.*\([^\)]*\).*$/;
64 $addr =~ s/^.*<([^>]*)>.*$/$1/
65 if $addr =~ /^.*<[^>]*>.*$/;
67 $addr =~ s/^\s*(.*)\s*/$1/;
70 $addr =~
72 return $addr;
H A Dexpn.pl75 # string "$addr *** $server" where $addr is the address to be
112 $0 = "$av0 - lookup host FQDN and IP addr";
284 ($done,$addr) = ($1,$2);
285 ($newhost, $newaddr, $newname) = &parse($addr,$server,$oldname, $#expansion == 0);
286 print "($newhost, $newaddr, $newname) = &parse($addr, $server, $oldname)\n" if $debug;
546 local($addr) = @_;
547 $res = &do_validAddr($addr);
548 print "validAddr($addr) = $res\n" if $debug;
553 local($addr)
[all...]
/sendmail/libmilter/
H A Dlistener.c135 SOCKADDR addr; local
143 (void) memset(&addr, '\0', sizeof addr);
156 addr.sa.sa_family = AF_UNIX;
161 addr.sa.sa_family = AF_INET;
162 L_socksize = sizeof addr.sin;
166 addr.sa.sa_family = AF_INET6;
167 L_socksize = sizeof addr.sin6;
182 addr.sa.sa_family = AF_UNIX;
189 addr
[all...]
/sendmail/libsm/
H A Dt-inet6_ntop.c43 struct sockaddr_in6 addr; local
47 r = inet_pton(AF_INET6, ip, &addr.sin6_addr);
49 ipf = sm_inet6_ntop(&addr.sin6_addr, ipv6str, sizeof(ipv6str));
H A Dmpeix.c86 ** addr -- socket address.
96 sendmail_mpe_bind(sd, addr, addrlen)
98 void *addr;
107 ((struct sockaddr_in *)addr)->sin_family == AF_INET)
110 if (((struct sockaddr_in *)addr)->sin_port > 0 &&
111 ((struct sockaddr_in *)addr)->sin_port < 1024)
116 ((struct sockaddr_in *)addr)->sin_addr.s_addr = 0;
117 result = bind(sd, addr, addrlen);
124 return bind(sd, addr, addrlen);
/sendmail/sendmail/
H A Dsasl.c220 ** addr -- (pointer to) socket address
243 iptostring(addr, addrlen, out, outlen)
244 SOCKADDR *addr;
254 if (addr == NULL || out == NULL)
263 if (addr->sa.sa_family == AF_INET6)
266 if (getnameinfo((struct sockaddr *) addr, addrlen,
270 if (addr->sa.sa_family != AF_INET)
275 if (sm_strlcpy(hbuf, inet_ntoa(addr->sin.sin_addr), sizeof(hbuf))
281 sm_snprintf(pbuf, sizeof(pbuf), "%d", ntohs(addr->sin.sin_port));
H A Ddaemon.c855 char *addr; local
858 addr = anynet_ntoa(&sa);
864 macid("{if_addr}"), addr);
869 sm_dprintf("getreq: got addr %s and family %s\n",
870 addr, family);
1034 ** Size in bytes of the daemon socket addr.
1442 char *addr = NULL; local
1482 addr = v;
1626 /* Check addr and port after finding family */
1627 if (addr !
2114 SOCKADDR addr; local
3821 struct in_addr addr; local
[all...]
H A Dparseaddr.c45 ** addr -- the address to parse.
64 ** e->e_to = addr
71 parseaddr(addr, a, flags, delim, delimptr, e, isrcpt)
72 char *addr;
89 e->e_to = addr;
91 sm_dprintf("\n--parseaddr(%s)\n", addr);
96 pvp = prescan(addr, delim, pvpbuf, sizeof(pvpbuf), delimptr,
105 if (invalidaddr(addr, delim == '\0' ? NULL : *delimptr, isrcpt))
113 ** Save addr if we are going to have to.
120 if (bitset(RF_COPYPADDR, flags) && addr !
[all...]
H A Dmilter.c662 SOCKADDR addr; local
681 memset(&addr, '\0', sizeof(addr));
692 addr.sa.sa_family = AF_UNIX;
696 addr.sa.sa_family = AF_INET;
700 addr.sa.sa_family = AF_INET6;
716 addr.sa.sa_family = AF_UNIX;
720 addr.sa.sa_family = AF_INET;
724 addr.sa.sa_family = AF_INET6;
751 addr
[all...]
H A Dconf.c4003 char *addr; local
4034 addr = anynet_ntoa(sap);
4038 if (addr != NULL && sm_strncasecmp(addr, "IPv6:", 5) == 0)
4039 addr += 5;
4042 if (!hosts_ctl("sendmail", host, addr, STRING_UNKNOWN))
4049 host, addr);
4269 sm_getipnodebyaddr(addr, len, family, err)
4270 const void *addr;
4278 h = gethostbyaddr(addr, le
4427 char *addr; local
4843 char *addr; local
[all...]
H A Dsavemail.c1735 ** addr -- the address
1742 ** modifies addr in-place
1746 pruneroute(addr)
1747 char *addr;
1758 /* check to see if this is really a route-addr */
1759 if (*addr != '<' || addr[1] != '@' || addr[strlen(addr) - 1] != '>')
1768 start = addr;
[all...]
H A Dmap.c7476 SOCKADDR addr; local
7521 memset(&addr, '\0', sizeof(addr));
7532 addr.sa.sa_family = AF_UNIX;
7536 addr.sa.sa_family = AF_INET;
7540 addr.sa.sa_family = AF_INET6;
7553 addr.sa.sa_family = AF_UNIX;
7557 addr.sa.sa_family = AF_INET;
7561 addr.sa.sa_family = AF_INET6;
7581 addr
[all...]
H A Dheaders.c1281 ** addr -- the address to be cracked.
1316 crackaddr(addr, e)
1317 register char *addr;
1326 int bracklev; /* bracket level for IPv6 addr check */
1342 sm_dprintf("crackaddr(%s)\n", addr);
1348 while (*addr != '\0' && isascii(*addr) && isspace(*addr))
1350 SM_APPEND_CHAR(*addr);
1351 addr
[all...]
H A Dutil.c529 ** addr -- list of address structures to copy.
533 ** a copy of 'addr'.
537 copyqueue(addr, rpool)
538 ADDRESS *addr;
545 while (addr != NULL)
547 if (!QS_IS_DEAD(addr->q_state))
551 STRUCTCOPY(*addr, *newaddr);
555 addr = addr->q_next;
H A Dsrvrsmtp.c386 str, addr); \
404 str, addr, response); \
427 str, addr); \
437 str, addr); \
447 str, addr, MSG_TEMPFAIL); \
578 char *addr; local
653 addr = NULL;
975 "Milter: connect: host=%s, addr=%s, rejecting commands",
986 "Milter: connect: host=%s, addr=%s, temp failing commands",
996 "Milter: connect: host=%s, addr
[all...]
H A Dmain.c68 ** /usr/lib/sendmail [flags] addr ...
756 char *addr; local
785 addr = anynet_ntop(&ia6, buf6, sizeof(buf6));
786 if (addr != NULL)
788 "[%.100s]", addr);
4402 "Rcode = %d, addr = %s\n",
/sendmail/mail.local/
H A Dmail.local.c517 process_recipient(addr)
518 char *addr;
522 switch (sm_mbdb_lookup(addr, &user))
1549 static struct sockaddr_in addr; local
1561 addr.sin_family = hp->h_addrtype;
1562 memcpy(&addr.sin_addr, hp->h_addr, INADDRSZ);
1563 addr.sin_port = sp->s_port;
1570 /* Couldn't initialize addr struct */
1571 if (addr.sin_family == AF_UNSPEC)
1577 (void) sendto(f, msg, len, 0, (struct sockaddr *) &addr, sizeo
[all...]

Completed in 619 milliseconds