To read email via a network protocol like IMAP or POP, you can
configure Emacs with the option '--with-mailutils', so that it always
-uses the GNU Mailutils 'movemail' program to retrieve mail. Otherwise
-the Emacs build procedure builds and installs an auxiliary 'movemail'
-program, a limited and insecure substitute that Emacs can use when
-Mailutils is not installed; when this happens, there are several
+uses the GNU Mailutils 'movemail' program to retrieve mail; this is
+the default if GNU Mailutils is installed. Otherwise the Emacs build
+procedure builds and installs an auxiliary 'movemail' program, a
+limited and insecure substitute; when this happens, there are several
configure options such as --without-pop that provide fine-grained
control over Emacs 'movemail' construction.
a POP3 server by default. Versions of the POP protocol older than
POP3 are not supported. While POP3 support is typically enabled,
whether Emacs actually uses POP3 is controlled by individual users;
-see the Rmail chapter of the Emacs manual. Unless you configure
---with-mailutils, it is a good idea to configure --without-pop so that
-users are less likely to inadvertently read email via insecure
-channels.
+see the Rmail chapter of the Emacs manual. Unless --with-mailutils is
+in effect, it is a good idea to configure --without-pop so that users
+are less likely to inadvertently read email via insecure channels.
For image support you may have to download, build, and install the
appropriate image support libraries for image types other than XBM and
Emacs info files.
8) If your system uses lock files to interlock access to mailer inbox files,
-and if you did not configure --with-mailutils, then you might need to
+and if --with-mailutils is not in effect, then you might need to
make the Emacs-specific 'movemail' program setuid or setgid in order
to enable it to write the lock files. We believe this is safe.
# in a movemail implementation that supports only unencrypted POP3
# connections. Encrypted connections should be the default.
-OPTION_DEFAULT_OFF([mailutils],
- [rely on GNU Mailutils, so that the --without-pop through --with-mailhost
- options are irrelevant])
+AC_ARG_WITH([mailutils],
+ [AS_HELP_STRING([--with-mailutils],
+ [rely on GNU Mailutils, so that the --without-pop through --with-mailhost
+ options are irrelevant; this is the default if GNU Mailutils is
+ installed])],
+ [],
+ [with_mailutils=$with_features
+ if test "$with_mailutils" = yes; then
+ (movemail --version) >/dev/null 2>&1 || with_mailutils=no
+ fi])
if test "$with_mailutils" = no; then
with_mailutils=
fi
version. There are two versions of the @command{movemail} program: the
GNU Mailutils version (@pxref{movemail,,,mailutils,GNU mailutils}),
and an Emacs-specific version that is built and installed unless Emacs
-was configured using the @option{--with-mailutils} option.
+was configured @option{--with-mailutils} in effect.
The two @command{mailtool} versions support the same
command line syntax and the same basic subset of options. However, the
Mailutils version offers additional features.
version 2.6.6 or later.
** The new option 'configure --with-mailutils' causes Emacs to rely on
-GNU Mailutils 'movemail' to retrieve email. By default, the Emacs
-build procedure continues to build and install a limited and insecure
-'movemail' substitute. Although --with-mailutils is recommended, it
-is not yet the default due to backward-compatibility concerns.
+GNU Mailutils to retrieve email. It is recommended, and is the
+default if GNU Mailutils is installed. When --with-mailutils is not
+in effect, the Emacs build procedure by default continues to build and
+install a limited 'movemail' substitute that retrieves POP3 email only
+via insecure channels; to avoid this problem, use either
+--with-mailutils or --without-pop when configuring.
** The new option 'configure --enable-gcc-warnings=warn-only' causes
GCC to issue warnings without stopping the build. This behavior is