mailing list of musl libc
 help / color / mirror / code / Atom feed
* dn_expand() confuses postfix
@ 2013-08-13 18:19 orc
  2013-08-13 18:38 ` Rich Felker
  2013-08-14 22:06 ` Rich Felker
  0 siblings, 2 replies; 9+ messages in thread
From: orc @ 2013-08-13 18:19 UTC (permalink / raw)
  To: musl list

musl's dn_expand() confuses postfix - always returns 0, then postfix's
libdns.a gets wrong shifts and gives up with something like:

./test_dns_lookup: lookup yandex.ru type MX flags 2
./test_dns_lookup: dns_query: yandex.ru (MX): OK
./test_dns_lookup: warning: dns_get_fixed: bad class: 30722
./test_dns_lookup: fatal: Name service error for name=yandex.ru type=MX: Malformed or unexpected name server reply

If someone will face same error with postfix & musl, then get portable
dn_expand.c from
http://tclsysdns.googlecode.com/svn/trunk/unix/dn_expand.c and put it
in src/dns (edit Makefile.in to include src & obj).

(btw running whole LAMP/FTP stack with musl - some issues appear like
iconv need to be replaced with libiconv to make some CMS happy, so I
have some compatibility experience here. Musl much more perfect than I
expected)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-08-25  8:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-13 18:19 dn_expand() confuses postfix orc
2013-08-13 18:38 ` Rich Felker
2013-08-13 19:09   ` orc
2013-08-13 20:36     ` Rich Felker
2013-08-14 22:06 ` Rich Felker
2013-08-15  6:14   ` orc
2013-08-15  6:36     ` Rich Felker
2013-08-25  6:43     ` Rich Felker
2013-08-25  8:42       ` orc

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).