Re: [INTERNALS-WIN] mail() sending local hostname instead of fully-qualified hostname as HELO
| From: | Kalle Sommer Nielsen | Date: | Sat, 27 Jun 2009 10:06:14 +0000 |
| Subject: | Re: [INTERNALS-WIN] mail() sending local hostname instead of fully-qualified hostname as HELO | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-524@lists.php.net to get a copy of this message | ||
Hi Rick
2009/6/26 Rick Yorgason <rick@longbowgames.com>:
> http://pastie.org/525609
>
> I've tested it by forcing ent->h_name to an IPv4 or IPv6 number, and all
> three scenarios (including not forcing it) seem to provide valid data.
The only two minor issues I see now is that we need to include:
#include "win32/inet.h" for inet functions if the compiler system
lacks of it.
And the other being we need to wrap the IPv6 stuff out in an ifdef
block, as users can disable IPv6 support using --disable-ipv6, so its
just a simple: #ifdef HAVE_IPV6
but else I think the patch is good and ready to be committed once our
freeze is over. If you don't get around to fix those items then I will
before I commit.
--
regrads,
Kalle Sommer Nielsen
kalle@php.net