Remove camel/README.COPYRIGHT.

The instructions are out-of-date, and advise contacting Novell Inc.
Bug 721527 - License text contains obsolete FSF postal address
Bug 721733 - Tweak Berkeley DB detection logic

Make two changes to the logic that we use to find the Berkeley DB:

 - in the default case where --with-libdb is not given, do not attempt
   to add the default ${prefix}/include and ${prefix}/lib to the CFLAGS
   and LIBS.  Only do this if --with-libdb is explicitly given.

 - in the case where --with-libdb is not given, and DB_CFLAGS or DB_LIBS
   is already set, use those values instead of our own guesses

This allows the build to proceed on FreeBSD, where the headers are in an
unusual location and the library has an unusual name.

https://bugzilla.gnome.org/show_bug.cgi?id=721733
Remove #include <malloc.h> from a file

This ancient header has long been deprecated in favour of <stdlib.h> but
this file uses GLib memory functions anyway, so neither is required.

https://bugzilla.gnome.org/show_bug.cgi?id=721737
tests: #include <sys/wait.h> for WIFEXITED

https://bugzilla.gnome.org/show_bug.cgi?id=721737
configure.ac: trivial typo fix in last commit

-ldb vs. -ldl
CamelIMAPXNamespace: Allow NIL separator character.

RFC 2342 allows it:

  Namespace_Response = "*" SP "NAMESPACE" SP Namespace SP Namespace
                       SP Namespace

  Namespace = nil / "(" 1*( "(" string SP  (<"> QUOTED_CHAR <"> /
              nil) *(Namespace_Response_Extension) ")" ) ")"
              ^^^
IMAPX: Handle BODY[HEADER] in FETCH response.

A broken IMAP server (whatever they use at Masaryk University) was
seen having this conversation:

  C: A001 UID FETCH 1:* (RFC822.SIZE RFC822.HEADER FLAGS)
  S: * 1 FETCH (RFC822.SIZE 4220 BODY[HEADER] {523} ...)
  ...

This confuses Camel into thinking it was a request for a full message
and it in turn fails to update the folder summary and issues a warning
about not being able to locate an appropriate FETCH job.

This works around the issue by treating BODY[HEADER] as equivalent to
RFC822.HEADER in untagged FETCH responses.