summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-03-16 23:50:37 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-03-17 00:15:48 -0700
commit9f771f6440a61433d34f14aee4046cf2fa6ba391 (patch)
tree2394bc49b97cd025f338af449fc97992db3f9ccf /INSTALL
parentffbb46849990bf4bf952e01b78c9a1a0ca0d4432 (diff)
downloademacs-9f771f6440a61433d34f14aee4046cf2fa6ba391.tar.gz
Emacs 'movemail' is now a configure-time option
The new configure option --with-mailutils lets the builder say that Emacs should assume that GNU Mailutils is installed, instead of continuing to build and install its own limited and insecure substitute for 'movemail'. * INSTALL, etc/NEWS, etc/PROBLEMS: Mention --with-mailutils. * configure.ac: Add --with-mailutils option. (with_mailutils): New variable. Do not bother configuring 'movemail' when not building it. Warn about issues relating to --with-mailutils. * doc/emacs/rmail.texi (Movemail): Mention --with-mailutils. (Movemail, Remote Mailboxes): Document port numbers in POP and IMAP URLs. * lib-src/Makefile.in (with_mailutils): New macro. (UTILITIES): Use it.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL22
1 files changed, 17 insertions, 5 deletions
diff --git a/INSTALL b/INSTALL
index 10b17560031..a99f1078044 100644
--- a/INSTALL
+++ b/INSTALL
@@ -259,12 +259,23 @@ inconvenient for Emacs when running as daemon or running via a remote
ssh connection. In order to completely prevent the use of D-Bus, configure
Emacs with the options '--without-dbus --without-gconf --without-gsettings'.
+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
+configure options such as --without-pop that provide fine-grained
+control over Emacs 'movemail' construction.
+
The Emacs mail reader RMAIL is configured to be able to read mail from
a POP3 server by default. Versions of the POP protocol older than
-POP3 are not supported. For Kerberos-authenticated POP add
-'--with-kerberos', for Hesiod support add '--with-hesiod'. While POP3
-is always enabled, whether Emacs actually uses POP is controlled by
-individual users--see the Rmail chapter of the Emacs manual.
+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.
For image support you may have to download, build, and install the
appropriate image support libraries for image types other than XBM and
@@ -538,7 +549,8 @@ information on this.
Emacs info files.
8) If your system uses lock files to interlock access to mailer inbox files,
-then you might need to make the movemail program setuid or setgid
+and if you did not configure --with-mailutils, 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.
9) You are done! You can remove executables and object files from