aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2017-10-03 15:42:10 -0700
committerPaul Eggert2017-10-03 15:46:15 -0700
commitaf2a40fbd37a663a8ee5a722f9fecb80c425c128 (patch)
tree9f331e74730a2a41ac62658e99be418efa62c2e4
parent4ac5ac50c94b20acdad3746ee168a72d8dd18b4f (diff)
downloademacs-af2a40fbd37a663a8ee5a722f9fecb80c425c128.tar.gz
emacs-af2a40fbd37a663a8ee5a722f9fecb80c425c128.zip
--with-pop is now the default only on MS-Windows
Problem reported by N. Jackson (Bug#28597). This improves an earlier suggestion by Robert Pluim (Bug#28597#47). * INSTALL, configure.ac, etc/NEWS: Make --with-pop the default only on native MS-Windows.
-rw-r--r--INSTALL6
-rw-r--r--configure.ac19
-rw-r--r--etc/NEWS5
3 files changed, 20 insertions, 10 deletions
diff --git a/INSTALL b/INSTALL
index e76e843ce29..e93b3064fcb 100644
--- a/INSTALL
+++ b/INSTALL
@@ -273,8 +273,10 @@ a POP3 server by default. Versions of the POP protocol older than
273POP3 are not supported. While POP3 support is typically enabled, 273POP3 are not supported. While POP3 support is typically enabled,
274whether Emacs actually uses POP3 is controlled by individual users; 274whether Emacs actually uses POP3 is controlled by individual users;
275see the Rmail chapter of the Emacs manual. Unless --with-mailutils is 275see the Rmail chapter of the Emacs manual. Unless --with-mailutils is
276in effect, it is a good idea to configure --without-pop so that users 276in effect, it is a good idea to configure without POP3 support so that
277are less likely to inadvertently read email via insecure channels. 277users are less likely to inadvertently read email via insecure
278channels. On native MS-Windows, --with-pop is the default; on other
279platforms, --without-pop is the default.
278 280
279For image support you may have to download, build, and install the 281For image support you may have to download, build, and install the
280appropriate image support libraries for image types other than XBM and 282appropriate image support libraries for image types other than XBM and
diff --git a/configure.ac b/configure.ac
index eb2c6840402..3feac73bed3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -232,9 +232,9 @@ AC_DEFUN([OPTION_DEFAULT_ON], [dnl
232 m4_bpatsubst([with_$1], [[^0-9a-z]], [_])=$with_features])dnl 232 m4_bpatsubst([with_$1], [[^0-9a-z]], [_])=$with_features])dnl
233])dnl 233])dnl
234 234
235# FIXME: The default options '--without-mailutils --with-pop' result 235# For retrieving mail, unencrypted network connections are the default
236# in a movemail implementation that supports only unencrypted POP3 236# only on native MS-Windows platforms. (FIXME: These platforms should
237# connections. Encrypted connections should be the default. 237# also be secure by default.)
238 238
239AC_ARG_WITH([mailutils], 239AC_ARG_WITH([mailutils],
240 [AS_HELP_STRING([--with-mailutils], 240 [AS_HELP_STRING([--with-mailutils],
@@ -251,9 +251,16 @@ if test "$with_mailutils" = no; then
251fi 251fi
252AC_SUBST([with_mailutils]) 252AC_SUBST([with_mailutils])
253 253
254OPTION_DEFAULT_ON([pop], 254AC_ARG_WITH([pop],
255 [don't support POP mail retrieval with movemail (--without-pop or 255 [AS_HELP_STRING([--with-pop],
256 --with-mailutils is recommended, as movemail POP is insecure)]) 256 [Support POP mail retrieval if Emacs movemail is used (not recommended,
257 as Emacs movemail POP is insecure). This is the default only on
258 native MS-Windows.])],
259 [],
260 [case $host in
261 *-mingw*) with_pop=yes;;
262 *) with_pop=no;;
263 esac])
257if test "$with_pop" = yes; then 264if test "$with_pop" = yes; then
258 AC_DEFINE(MAIL_USE_POP) 265 AC_DEFINE(MAIL_USE_POP)
259fi 266fi
diff --git a/etc/NEWS b/etc/NEWS
index b734e8dd19c..62d2450f9a3 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -35,8 +35,9 @@ GNU Mailutils to retrieve email. It is recommended, and is the
35default if GNU Mailutils is installed. When --with-mailutils is not 35default if GNU Mailutils is installed. When --with-mailutils is not
36in effect, the Emacs build procedure by default continues to build and 36in effect, the Emacs build procedure by default continues to build and
37install a limited 'movemail' substitute that retrieves POP3 email only 37install a limited 'movemail' substitute that retrieves POP3 email only
38via insecure channels; to avoid this problem, use either 38via insecure channels. To avoid this problem, use either
39--with-mailutils or --without-pop when configuring. 39--with-mailutils or --without-pop when configuring; --without-pop
40is the default on platforms other than native MS-Windows.
40 41
41** The new option 'configure --enable-gcc-warnings=warn-only' causes 42** The new option 'configure --enable-gcc-warnings=warn-only' causes
42GCC to issue warnings without stopping the build. This behavior is 43GCC to issue warnings without stopping the build. This behavior is