smtpmail.elc can't work

Bug #50689 reported by David Lee
10
Affects Status Importance Assigned to Milestone
gnus (Ubuntu)
Wishlist
Unassigned

Bug Description

Binary package hint: emacs21-common

smtpmail.elc of emacs21-common in Ubuntu 6.06 LTS can't work
with good configuration. I downloaded the latest smtpmail.el from
Savannah CVS, and the same configuration works fine.

The default smtpmail.el along with emacs21-common always
complaint for "Client was not authenticated".

Revision history for this message
David Lee (live4thee) wrote :

My SMTP configuration in ~/.gnus.el

(setq user-full-name "David Lee")
(setq user-mail-address "<email address hidden>")

(setq smtpmail-auth-credentials
  '(("smtp.YYY.com"
     25
     "XXX"
     nil)))

(setq smtpmail-default-smtp-server "smtp.YYY.com")
(setq smtpmail-smtp-server "smtp.YYY.com")
(setq smtpmail-local-domain nil)
(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)

Revision history for this message
Dave Love (fx-gnu) wrote :

Presumably this depends on how you're trying to
authenticate. The released smtpmail doesn't have
starttls support, for instance.

Why use it on Ubuntu, though? If exim is set up
correctly, Emacs' sendmail method (the default)
will DTRT.

Revision history for this message
David Lee (live4thee) wrote :

Hi, Dave
1.The SMTP server I use does not require tls authentication.
2.My laptop is running mutt+fetchmail+msmtp, anyway I don't
   want to run sendmail/postfix/exim etc.

Thanks for your response.
D.L.

Revision history for this message
Dave Love (fx-gnu) wrote :

[I'm not sure if this got out before I went on holiday.]

Sorry, I realize the current smtpmail doesn't support auth at all --
one of the many problems with a new Emacs not getting released, but
once you start addressing them all, there's no end to it.

The safest place to get a compatible smtpmail.el will be from the
current Gnus distribution at <URL:http://www.gnus.org/>, since that
can't depend on any Emacs 22 features.

Revision history for this message
David Lee (live4thee) wrote :

Hi, Dave
Thanks anyway.
D.L.

Revision history for this message
Micah Cowan (micahcowan) wrote :

Meh, wth. It shouldn't be a big deal to roll a debdiff for this.

Changed in emacs21:
assignee: nobody → micahcowan
status: Unconfirmed → In Progress
Micah Cowan (micahcowan)
Changed in gnus:
importance: Undecided → Wishlist
Revision history for this message
Micah Cowan (micahcowan) wrote :

Probably not going to work on this after all; a recent release of emacs has probably made this moot; will investigate, and if this is the case, deal with this report accordingly.

Changed in gnus:
status: In Progress → Unconfirmed
Micah Cowan (micahcowan)
Changed in gnus (Ubuntu):
assignee: Micah Cowan (micahcowan) → nobody
Changed in gnus (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers