GNU bug report logs - #10810
smtpmail-query-smtp-server does not allow a choice of port

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Tue, 14 Feb 2012 01:37:01 UTC

Severity: minor

Tags: fixed

Found in version 24.0.93

Fixed in version 24.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10810 in the body.
You can then email your comments to 10810 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10810; Package emacs. (Tue, 14 Feb 2012 01:37:01 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: smtpmail-query-smtp-server does not allow a choice of port
Date: Mon, 13 Feb 2012 20:35:03 -0500
Package: emacs
Version: 24.0.93
Severity: minor

If I know what port I want to use, smtpmail-query-smtp-server doesn't
provide any way for me to enter that information. I wanted to specify
587, but I ended up with a custom-set-variables section containing:

'(smtpmail-smtp-service "smtp"))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10810; Package emacs. (Tue, 14 Feb 2012 02:18:01 GMT) Full text and rfc822 format available.

Message #6 received at 10810 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 10810 <at> debbugs.gnu.org
Subject: Re: bug#10810: smtpmail-query-smtp-server does not allow a choice of
	port
Date: Mon, 13 Feb 2012 21:15:59 -0500
Glenn Morris wrote:

> If I know what port I want to use, smtpmail-query-smtp-server doesn't
> provide any way for me to enter that information.

It gets stranger...

I have another system where I think am I supposed to use port 465.
Maybe that's nonsense, I don't know, but I tried:

rm ~/.emacs
emacs -eval '(setq smtpmail-smtp-service 465)'

After going through all the prompting, I ended up with a .emacs
containing:

'(smtpmail-smtp-service 587)

and a ~/.authinfo with a "port 587" entry. Ie, my initial setting for
smtpmail-smtp-service was overwritten.

Maybe smtpmail-query-smtp-server should use something like
(list smtpmail-smtp-service 587) for ports rather than '("smtp" 587).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10810; Package emacs. (Tue, 14 Feb 2012 15:34:01 GMT) Full text and rfc822 format available.

Message #9 received at 10810 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 10810 <at> debbugs.gnu.org
Subject: Re: bug#10810: smtpmail-query-smtp-server does not allow a choice of
	port
Date: Tue, 14 Feb 2012 16:30:12 +0100
Glenn Morris <rgm <at> gnu.org> writes:

> Maybe smtpmail-query-smtp-server should use something like
> (list smtpmail-smtp-service 587) for ports rather than '("smtp" 587).

The lines below have a typo -- they push the server name and not the
service onto the list.  I've now checked in a fix.

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10810; Package emacs. (Tue, 14 Feb 2012 15:36:01 GMT) Full text and rfc822 format available.

Message #12 received at 10810 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 10810 <at> debbugs.gnu.org
Subject: Re: bug#10810: smtpmail-query-smtp-server does not allow a choice of
	port
Date: Tue, 14 Feb 2012 16:33:13 +0100
Glenn Morris <rgm <at> gnu.org> writes:

> If I know what port I want to use, smtpmail-query-smtp-server doesn't
> provide any way for me to enter that information.

Perhaps it should query the user for a port number if the defaults don't
work?  I'll add that to the function.

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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 14 Feb 2012 15:46:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 24.1, send any further explanations to 10810 <at> debbugs.gnu.org and Glenn Morris <rgm <at> gnu.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 14 Feb 2012 15:46:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 14 Mar 2012 11:24:02 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.