unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10829: 24.0.93; Error sending bug report -- default SMTP username
@ 2012-02-16 23:48 nyc4bos
  2012-02-17  8:03 ` Glenn Morris
  2012-02-20  8:15 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 6+ messages in thread
From: nyc4bos @ 2012-02-16 23:48 UTC (permalink / raw)
  To: 10829

When trying to send a bug report with a valid email address that is
NOT part of (user-login-name), I get a prompt that gives the default
SMTP username as the value of (user-login-name).

If a default is specified, I had expected it to be from the valid
"From: " address I provided, not the value of (user-login-name).

I know that emacsbug.el, sendmail.el, and message.el are currently
being worked on, so possible fallout is to be expected.

[FWIW, I have .authinfo.gpg file but do NOT have ANY email information
in it, nor do I ever want to -- just NNTP information.]

Thanks.


In GNU Emacs 24.0.93.1 (i386-mingw-nt5.1.2600)
 of 2012-02-15 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  value of $XMODIFIERS: nil
  locale-coding-system: cp949
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu> 
<send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win
w32-vars tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer button
faces cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process multi-tty emacs)





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#10829: 24.0.93; Error sending bug report -- default SMTP username
  2012-02-16 23:48 bug#10829: 24.0.93; Error sending bug report -- default SMTP username nyc4bos
@ 2012-02-17  8:03 ` Glenn Morris
  2012-02-17 13:10   ` Ted Zlatanov
  2012-02-20  8:15 ` Lars Ingebrigtsen
  1 sibling, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2012-02-17  8:03 UTC (permalink / raw)
  To: nyc4bos; +Cc: 10829

nyc4bos@aol.com wrote:

> When trying to send a bug report with a valid email address that is
> NOT part of (user-login-name), I get a prompt that gives the default
> SMTP username as the value of (user-login-name).
>
> If a default is specified, I had expected it to be from the valid
> "From: " address I provided, not the value of (user-login-name).

This seems to be unrelated to emacsbug. The same would happen with any mail.

> [FWIW, I have .authinfo.gpg file but do NOT have ANY email information
> in it, nor do I ever want to -- just NNTP information.]

Okay, but authinfo is the mechanism by which the smtp user is specified.
So if you choose not to use that, you... don't get to specify the smtp
user. This doesn't seem like an "error sending bug report"; rather it
seems a low priority wishlist request to tweak the default SMTP user
name used when there is no authinfo (for most people, this will only
happen once, the first time).





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#10829: 24.0.93; Error sending bug report -- default SMTP username
  2012-02-17  8:03 ` Glenn Morris
@ 2012-02-17 13:10   ` Ted Zlatanov
  0 siblings, 0 replies; 6+ messages in thread
From: Ted Zlatanov @ 2012-02-17 13:10 UTC (permalink / raw)
  To: Glenn Morris; +Cc: nyc4bos, 10829

On Fri, 17 Feb 2012 03:03:58 -0500 Glenn Morris <rgm@gnu.org> wrote: 

GM> nyc4bos@aol.com wrote:
>> When trying to send a bug report with a valid email address that is
>> NOT part of (user-login-name), I get a prompt that gives the default
>> SMTP username as the value of (user-login-name).
>> 
>> If a default is specified, I had expected it to be from the valid
>> "From: " address I provided, not the value of (user-login-name).

GM> This seems to be unrelated to emacsbug. The same would happen with any mail.

>> [FWIW, I have .authinfo.gpg file but do NOT have ANY email information
>> in it, nor do I ever want to -- just NNTP information.]

GM> Okay, but authinfo is the mechanism by which the smtp user is specified.
GM> So if you choose not to use that, you... don't get to specify the smtp
GM> user. This doesn't seem like an "error sending bug report"; rather it
GM> seems a low priority wishlist request to tweak the default SMTP user
GM> name used when there is no authinfo (for most people, this will only
GM> happen once, the first time).

Look at the discussion for bug 9113 for more on this.  nyc4bos, you can
voice your opinion there or on the Gnus mailing list.  The consensus so
far seems to be that we should allow in-memory auth-source storage for
users who don't want to set it up, and just cache the information until
Emacs exits, but we should prompt to make sure that's what they want.

Ted





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#10829: 24.0.93; Error sending bug report -- default SMTP username
  2012-02-16 23:48 bug#10829: 24.0.93; Error sending bug report -- default SMTP username nyc4bos
  2012-02-17  8:03 ` Glenn Morris
@ 2012-02-20  8:15 ` Lars Ingebrigtsen
  2012-02-28  1:51   ` nyc4bos
  1 sibling, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2012-02-20  8:15 UTC (permalink / raw)
  To: nyc4bos; +Cc: 10829

nyc4bos@aol.com writes:

> When trying to send a bug report with a valid email address that is
> NOT part of (user-login-name), I get a prompt that gives the default
> SMTP username as the value of (user-login-name).

Your SMTP server requires a user name and password to send email, I take
it?

> If a default is specified, I had expected it to be from the valid
> "From: " address I provided, not the value of (user-login-name).

I don't think the bit before the "@" sign in the From header is any more
likely to be the user name you have to give to the SMTP server than
(user-login-name) is.

Emacs just guesses here, and I think (user-login-name) is a perfectly
valid guess.  So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#10829: 24.0.93; Error sending bug report -- default SMTP username
  2012-02-20  8:15 ` Lars Ingebrigtsen
@ 2012-02-28  1:51   ` nyc4bos
  2012-03-09 23:06     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: nyc4bos @ 2012-02-28  1:51 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 10829

Lars Ingebrigtsen <larsi@gnus.org> writes:

> nyc4bos@aol.com writes:
>
>> When trying to send a bug report with a valid email address that is
>> NOT part of (user-login-name), I get a prompt that gives the default
>> SMTP username as the value of (user-login-name).
>
> Your SMTP server requires a user name and password to send email, I take
> it?

Yes.

>
>> If a default is specified, I had expected it to be from the valid
>> "From: " address I provided, not the value of (user-login-name).
>
> I don't think the bit before the "@" sign in the From header is any more
> likely to be the user name you have to give to the SMTP server than
> (user-login-name) is.

In my experience, when required to authenticate to an SMTP server, the
user part (the left of the "@" sign) is almost certainly the username
to give SMTP server.

>
> Emacs just guesses here, and I think (user-login-name) is a perfectly
> valid guess.  So I'm closing this bug report.

When creating a bug report (`report-emacs-bug') using (run)emacs -Q,
Emacs has already "just guessed" when it fills in the "From: "
address:

 From: <user-login-name>@<hostname>.i-did-not-set--mail-host-address--so-tickle-me


So when the user explicitly fills in their valid email address, why
should Emacs override the user with a default of its own?

Why shouldn't Emacs just accept what the user has explicitly typed
by default (and allow in prompt for a different user name)?

IOW, exactly the opposite to what you have changed it to (put in its
own default causing the user to have change it yet again).

This is a regression from (at least) Emacs 23, without any overriding
reason that I can discern.

Could you please reconsider?

I believe there should at least be some discussion about this
regression.








^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#10829: 24.0.93; Error sending bug report -- default SMTP username
  2012-02-28  1:51   ` nyc4bos
@ 2012-03-09 23:06     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 2012-03-09 23:06 UTC (permalink / raw)
  To: nyc4bos; +Cc: 10829

nyc4bos@aol.com writes:

> In my experience, when required to authenticate to an SMTP server, the
> user part (the left of the "@" sign) is almost certainly the username
> to give SMTP server.

That's not my experience.

>> Emacs just guesses here, and I think (user-login-name) is a perfectly
>> valid guess.  So I'm closing this bug report.
>
> When creating a bug report (`report-emacs-bug') using (run)emacs -Q,
> Emacs has already "just guessed" when it fills in the "From: "
> address:
>
>  From:
> <user-login-name>@<hostname>.i-did-not-set--mail-host-address--so-tickle-me
>
> So when the user explicitly fills in their valid email address, why
> should Emacs override the user with a default of its own?
>
> Why shouldn't Emacs just accept what the user has explicitly typed
> by default (and allow in prompt for a different user name)?
>
> IOW, exactly the opposite to what you have changed it to (put in its
> own default causing the user to have change it yet again).

I'm not quite sure what you mean.  Surely you're asked for a user name
and password if the SMTP server requires it?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-09 23:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-16 23:48 bug#10829: 24.0.93; Error sending bug report -- default SMTP username nyc4bos
2012-02-17  8:03 ` Glenn Morris
2012-02-17 13:10   ` Ted Zlatanov
2012-02-20  8:15 ` Lars Ingebrigtsen
2012-02-28  1:51   ` nyc4bos
2012-03-09 23:06     ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).