all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Changing the default for `send-mail-function'
Date: Tue, 5 Jul 2011 10:53:24 +1000	[thread overview]
Message-ID: <CAC=50j9E5axU4GQvqtfTMrPOjxwMTbgECp7JLUQ1JL-c=ArQSQ@mail.gmail.com> (raw)
In-Reply-To: <E1QdhVH-0007px-0u@fencepost.gnu.org>

On Mon, Jul 4, 2011 at 9:39 PM, Richard Stallman <rms@gnu.org> wrote:
>    Perhaps we can make progress if you permit me to ask you a question.
>    What's wrong with a two-protocol system?
>
> I don't know whether something is wrong with that, because the
> question is not entirely clear.
>
> I have nothing against making Emacs able to use multiple
> protocols for sending mail.  Having those capabilities
> can't hurt anyone.  The question is how Emacs decides which
> method to use.
>
> I want to avoid asking users to configure SMTP on systems where
> sendmail works.  Some of them won't know that sendmail works, or what
> sendmail is, they just send mail and it works.  If Emacs tells them,
> "Please configure SMTP to send mail," they won't know this is not
> really necessary.  They may waste a lot of time looking for a way to
> do that.  If Emacs asks them whether configuring SMTP is necessary,
> they won't know the answer.
>
>      I don't have time for
>    general discussion of failure modes of the mail protocol, with a view
>    to repairing sendmail.  It's too difficult.[1]
>
> You don't have to discuss it, but that doesn't convince me that
> making sendmail reliably fail when the MTA is not really set up
> is too difficult.
>
> Also, your footnote [1] suggests we are not talking about the same
> question.  What I have in mind does not match what you say there.
>
> --
> Dr Richard Stallman
> President, Free Software Foundation
> 51 Franklin St
> Boston MA 02110
> USA
> www.fsf.org  www.gnu.org
> Skype: No way! That's nonfree (freedom-denying) software.
>  Use free telephony http://directory.fsf.org/category/tel/
>
>

Wow, amazing how something so simple can get so complex so quickly!

I think Stefan's suggestion is a good one for handling the situation
of being able to reliably submit a bug report for emacs users who do
not use emacs for mail and therefore may or may not have mail
configured (and may or may not know if it is).  However, it should
also be noted that in some situations, mail is a more reliable
submission method than http. The weakness of http is that the http
server must be up and running at the point where I submit the bug
report. With mail, I can actually send a message which most mail
servers will repeatedly attempt to deliver for up to (frequently)_ 5
days. So, if the gnu.org mail system is unavailable for a few hours or
possibly a couple of days, my message will still get through.

I think Richard's points are also very valid, but address a slightly
more general issue of email and emacs. It is probably more in line
with the original suggestion of changing the default behaviour for the
send-mail-function. This is a more complex issue. It would seem

     - Not all platforms are equal. For example, Eli pointed out that
win32 should probably use the existing/default    mail client as the
default. This seems reasonable and in-line with user expectations on
that platform.

     - Someone mentioned that there may be information defined by xdg
that could be useful in determining the appropriate default for
systems that support it. Probably worth further investigation

     - Lars has written an interactive 'assistant' function. This
seems like a good idea on many levels. It may need
enhancing/expansion, but seems to be flexible and has the potential to
meet the widest range of individual requirements/expectations.
However, it does not address Richard's point of users who may not be
aware of how the underlying mail mechanism works, that they already
have a functioning MTA or what the right answers is and who will
become frustrated and waste time trying to solve a non-problem

Part of the problem here seems to be a lack of any real facts
concerning the current situation. It has been argued that MTAs are
often misconfigured and that the 'modern' approach is to configure a
specific server (often with authentication information) so that mail
will work form multiple networks etc. Taken at face value, this seems
reasonable for users running emacs on a laptop. However, is this just
users running emacs on a GNU/Linux laptop or does it hold for all
platforms, including OSX and Win32? Does this represent a significant
number of users or is this only a minority group and are the majority
doing fine with the existing defaults? Do we see lots of bug reports
concerning failed bug submission as a result of MTA issues or do we
just not see bugs from this group because they fail to submit? Is
there any real evidence that a majority of GNU/Linux systems that have
an MTA installed are misconfigured or is this just speculation? Should
we be considering different defaults for GNU/Linux laptops compared to
desktops? Can we assume an MTA on a GNU/Linux desktop is more likely
to be in a working state than one on a laptop that may be connected to
a foreign network? What is the breakdown of emacs user platforms? Are
the majority of users on wind32, OSX, GNU/Linux or something else?

Whatever the answer is, I do tend to agree with Stefan and others that
having emacs try to determine if an MTA is available AND correctly
configured is something that would take a lot of work and is unlikely
to ever be that reliable. Of course, a lot depends on your
interpretation of 'correctly configured', but at the base level, it
would have to at least mean that it could dispatch a message to
another mail server which could directly or indirectly deliver the
message or at least bounce it back to the originating server (possibly
not to the originating sender). Given that a mail message can sit with
a server for up to 5 days before it is returned, testing for bounces
may not be feasible. It certainly isn't something that could be done
reliably in 'real-time'. However, it may be possible to extend Lars'
'assistant' idea with some heuristics that could be used to try and
make life easier for the  user. Perhaps what we should focus on is in
making it easier for the user to get things setup and less on
automation?

Tim



  reply	other threads:[~2011-07-05  0:53 UTC|newest]

Thread overview: 201+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-26  9:14 Changing the default for `send-mail-function' Lars Magne Ingebrigtsen
2011-06-26 10:51 ` Eli Zaretskii
2011-06-26 10:56   ` Lars Magne Ingebrigtsen
2011-06-26 11:32     ` Reiner Steib
2011-06-26 11:38       ` Lars Magne Ingebrigtsen
2011-06-26 12:45         ` Reiner Steib
2011-06-26 12:53           ` Lars Magne Ingebrigtsen
2011-06-27 14:51         ` Jason Rumney
2011-06-27 20:45         ` Jochen Hein
2011-06-26 12:50     ` Eli Zaretskii
2011-06-26 13:08       ` Lars Magne Ingebrigtsen
2011-06-26 13:42         ` Philipp Haselwarter
2011-06-26 17:16         ` Eli Zaretskii
2011-06-26 18:58           ` Lars Magne Ingebrigtsen
2011-06-30  4:15             ` Stefan Monnier
2011-06-30  8:55               ` Lars Magne Ingebrigtsen
2011-06-26 18:35         ` Chong Yidong
2011-06-26 19:09           ` Lars Magne Ingebrigtsen
2011-06-26 19:50             ` Chong Yidong
2011-06-26 20:05               ` Lars Magne Ingebrigtsen
2011-06-26 20:40                 ` Chong Yidong
2011-06-26 20:44                   ` Lars Magne Ingebrigtsen
2011-06-26 21:07                     ` Lars Magne Ingebrigtsen
2011-06-26 19:54             ` Lars Magne Ingebrigtsen
2011-06-26 21:20           ` Christoph Scholtes
2011-06-26 21:29             ` Lars Magne Ingebrigtsen
2011-06-26 21:52               ` Christoph Scholtes
2011-06-26 22:05                 ` Lars Magne Ingebrigtsen
2011-06-26 22:49                   ` Christoph Scholtes
2011-06-26 23:36                     ` Lars Magne Ingebrigtsen
2011-06-26 23:49                       ` Lars Magne Ingebrigtsen
2011-06-27  0:57                         ` Christoph Scholtes
2011-06-27  9:36                           ` Lars Magne Ingebrigtsen
2011-06-27  2:56                         ` Eli Zaretskii
2011-06-27  3:34                           ` Christoph Scholtes
2011-06-27  4:35                             ` Eli Zaretskii
2011-06-27  9:39                           ` Lars Magne Ingebrigtsen
2011-06-27 11:04                             ` Eli Zaretskii
2011-06-27 11:11                               ` Lars Magne Ingebrigtsen
2011-06-27 12:00                             ` Christoph Scholtes
2011-06-27 16:29                               ` Eli Zaretskii
2011-06-28  0:03                                 ` Bill Wohler
2011-06-28  5:34                                   ` Eli Zaretskii
2011-06-28 15:29                                     ` Lars Magne Ingebrigtsen
2011-06-28 16:55                                       ` Eli Zaretskii
2011-06-28 18:47                                         ` Lars Magne Ingebrigtsen
2011-06-29 20:23                                           ` Lars Magne Ingebrigtsen
2011-06-28 15:49                                     ` Bill Wohler
2011-06-27  0:03                       ` Lars Magne Ingebrigtsen
2011-06-26 19:49         ` David De La Harpe Golden
2011-06-26 21:57           ` Lars Magne Ingebrigtsen
2011-06-26 22:44             ` David De La Harpe Golden
2011-06-26 23:26               ` Lars Magne Ingebrigtsen
2011-06-26 23:55                 ` David De La Harpe Golden
2011-06-27  0:00                   ` Lars Magne Ingebrigtsen
2011-06-27  1:39                     ` David De La Harpe Golden
2011-06-27  5:59                   ` Jan Djärv
2011-06-27  7:12                     ` David De La Harpe Golden
2011-06-27  8:58                       ` Eli Zaretskii
2011-06-26 23:21         ` Richard Stallman
2011-06-26 23:38           ` Lars Magne Ingebrigtsen
2011-06-27 13:06             ` Richard Stallman
2011-06-28 15:26               ` Lars Magne Ingebrigtsen
2011-06-29 10:58                 ` Richard Stallman
2011-06-29 10:58                 ` Richard Stallman
2011-06-29 11:52                   ` Teemu Likonen
2011-06-29 11:59                   ` Ted Zlatanov
2011-06-29 11:59                   ` Lars Magne Ingebrigtsen
2011-06-29 13:42                     ` Richard Riley
2011-06-30  0:13                       ` Tim Cross
2011-06-30 16:22                         ` Richard Stallman
2011-06-30 16:34                         ` Andreas Schwab
2011-06-30 21:11                           ` Ted Zlatanov
2011-06-27  0:10         ` David De La Harpe Golden
2011-06-27  1:47         ` Stefan Monnier
2011-06-27 10:32           ` Lars Magne Ingebrigtsen
2011-06-27 15:54           ` Ted Zlatanov
2011-06-26 13:39       ` Lars Magne Ingebrigtsen
2011-06-26 17:17         ` Eli Zaretskii
2011-06-26 18:36           ` Lars Magne Ingebrigtsen
2011-06-26 20:32         ` David De La Harpe Golden
2011-06-26 20:37           ` Lars Magne Ingebrigtsen
2011-06-26 20:40             ` David De La Harpe Golden
2011-06-27  4:20             ` Tim Cross
2011-06-27  5:22               ` Eli Zaretskii
2011-06-27 11:07                 ` Lars Magne Ingebrigtsen
2011-06-27 15:56                   ` Ted Zlatanov
2011-06-28  1:14                   ` Tim Cross
2011-06-28  1:39                     ` Glenn Morris
2011-06-28  2:24                       ` Glenn Morris
2011-06-28 18:11                         ` Chong Yidong
2011-06-27 13:06               ` Richard Stallman
2011-06-30  3:58               ` Stefan Monnier
2011-07-01  0:18                 ` Richard Stallman
2011-07-01  0:50                   ` chad
2011-07-01 11:40                     ` Richard Stallman
2011-07-01  2:29                   ` Stefan Monnier
2011-07-01 11:40                     ` Richard Stallman
2011-07-01 12:30                       ` Frank Schmitt
2011-07-02  8:11                         ` Richard Stallman
2011-07-02 14:21                           ` Stephen J. Turnbull
2011-07-03 12:49                             ` Richard Stallman
2011-07-04  3:27                               ` Stephen J. Turnbull
2011-07-04 11:39                                 ` Richard Stallman
2011-07-05  0:53                                   ` Tim Cross [this message]
2011-07-05 12:45                                     ` Richard Stallman
2011-07-05 14:11                                       ` Jan Djärv
2011-07-05 21:05                                         ` Richard Stallman
2011-07-05 21:43                                           ` Antoine Levitt
2011-07-05 23:28                                             ` chad
2011-07-06  1:54                                               ` Stephen J. Turnbull
2011-07-06 14:33                                               ` Richard Stallman
2011-07-06 19:39                                                 ` chad
2011-07-07  0:34                                                   ` Richard Stallman
2011-07-07  1:01                                                     ` chad
2011-07-07 16:31                                                       ` Richard Stallman
2011-07-07 22:16                                                         ` Michael Welsh Duggan
2011-07-08  0:07                                                           ` Richard Stallman
2011-07-07  1:06                                                     ` Tim Cross
2011-07-07  1:19                                                       ` Lars Magne Ingebrigtsen
2011-07-07  1:28                                                         ` chad
2011-07-07 16:31                                                           ` Richard Stallman
2011-07-08 23:38                                                             ` chad
2011-07-09 14:38                                                               ` Richard Stallman
2011-07-12  3:11                                                                 ` chad
2011-07-07  3:25                                                         ` Tim Cross
2011-07-07 16:31                                                           ` Richard Stallman
2011-07-07  7:14                                                       ` Richard Riley
2011-07-07 15:02                                                         ` Tim Cross
2011-07-07 15:17                                                           ` Lars Magne Ingebrigtsen
2011-07-08  0:06                                                             ` Richard Stallman
2011-07-08  0:47                                                               ` Stefan Monnier
2011-07-09  1:50                                                             ` Tim Cross
2011-07-10 12:27                                                               ` Lars Magne Ingebrigtsen
2011-07-10 22:25                                                                 ` Tim Cross
2011-07-11 12:53                                                                 ` Stefan Monnier
2011-07-11 13:27                                                                   ` Lars Magne Ingebrigtsen
2011-07-11 15:28                                                                     ` Ken Brown
2011-07-11 16:34                                                                       ` Lars Magne Ingebrigtsen
2011-07-11 18:42                                                                         ` Ken Brown
2011-08-02 21:32                                                                         ` Ken Brown
2011-08-02 22:09                                                                           ` Lars Magne Ingebrigtsen
2011-08-03  0:40                                                                             ` Ken Brown
2011-08-03  1:20                                                                             ` Stefan Monnier
2011-08-04 15:24                                                                               ` Ken Brown
2011-08-04 20:15                                                                                 ` Stefan Monnier
2011-08-04 21:57                                                                                   ` Ken Brown
2011-08-06  1:56                                                                                     ` Tim Cross
2011-08-06 15:56                                                                                     ` Lars Magne Ingebrigtsen
2011-08-06 17:27                                                                                       ` Stefan Monnier
2011-08-06 17:34                                                                                         ` Lars Ingebrigtsen
2011-08-06 18:33                                                                                         ` Ken Brown
2011-08-06 18:36                                                                                           ` Lennart Borgman
2011-08-06 23:20                                                                                           ` Lars Magne Ingebrigtsen
2011-08-06 23:26                                                                                             ` Lennart Borgman
2011-08-07  0:07                                                                                             ` Tim Cross
2011-08-07  0:28                                                                                               ` Lars Magne Ingebrigtsen
2011-08-07  1:34                                                                                                 ` Tim Cross
2011-08-06 23:18                                                                                         ` Lars Magne Ingebrigtsen
2011-08-07 16:25                                                                                           ` Stefan Monnier
2011-09-29 15:08                                                                                             ` Ken Brown
2011-10-06 19:41                                                                                               ` Lars Magne Ingebrigtsen
2011-10-07 13:12                                                                                                 ` Stefan Monnier
2011-10-09  6:05                                                                                                   ` Tim Cross
2011-08-03  4:17                                                                             ` Richard Stallman
2011-07-08  0:06                                                           ` Richard Stallman
2011-07-09  2:38                                                             ` Tim Cross
2011-07-09 14:38                                                               ` Richard Stallman
2011-07-06 14:32                                             ` Richard Stallman
2011-07-07 22:37                                             ` Andreas Rottmann
2011-07-05 14:22                                       ` Per Starbäck
2011-07-05 21:05                                         ` Richard Stallman
2011-07-05 14:24                                       ` Antoine Levitt
2011-07-05 21:05                                         ` Richard Stallman
2011-07-06 11:11                                       ` Richard Riley
2011-07-08  7:56                                       ` Peter Münster
2011-07-08 18:31                                         ` Richard Stallman
2011-07-12 14:41                                           ` Peter Münster
2011-07-05  8:28                                   ` Stephen J. Turnbull
2011-07-05 21:05                                     ` Richard Stallman
2011-07-06  1:39                                       ` Stephen J. Turnbull
2011-07-03 17:08                           ` Stefan Monnier
2011-07-04  0:07                             ` Richard Stallman
2011-07-04  2:49                               ` Chong Yidong
2011-06-27 15:08         ` Jason Rumney
2011-06-27 15:34           ` Julien Danjou
2011-06-27 17:10             ` Stephen J. Turnbull
2011-06-27 18:56               ` Lars Magne Ingebrigtsen
2011-06-27 19:54                 ` Ted Zlatanov
2011-06-28  0:42                   ` Stephen J. Turnbull
2011-06-27 21:03                 ` Chong Yidong
2011-06-28 15:20                   ` Lars Magne Ingebrigtsen
2011-06-27 23:03                 ` Richard Stallman
2011-06-27 19:07               ` Ted Zlatanov
2011-06-27 16:17           ` Lars Magne Ingebrigtsen
2011-06-28 14:57             ` Jason Rumney
2011-06-26 16:18 ` Richard Stallman
2011-06-26 18:45   ` Lars Magne Ingebrigtsen
2011-06-26 23:21     ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2011-06-27 11:25 Andrey Paramonov
2011-06-27 11:38 ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAC=50j9E5axU4GQvqtfTMrPOjxwMTbgECp7JLUQ1JL-c=ArQSQ@mail.gmail.com' \
    --to=theophilusx@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.