bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26509: 25.1; Problem sending bug report with sendmail.el


From: Live System User
Subject: bug#26509: 25.1; Problem sending bug report with sendmail.el
Date: Sat, 15 Apr 2017 01:02:26 -0400

Hi,

        I am experiencing transient problems sending bug reports
        to address@hidden with sendmail.el via Gnus.

        When I first try to send, I get the error in the *Backtrace*
        buffer:

Debugger entered--Lisp error: (error "smtp.aim.com/587 Name or service not 
known")
  make-network-process(:name "smtpmail" :buffer #<buffer *trace of SMTP session 
to smtp.aim.com*> :host "smtp.aim.com" :service 587)
  network-stream-open-starttls("smtpmail" #<buffer *trace of SMTP session to 
smtp.aim.com*> "smtp.aim.com" 587 (:type nil :return-list t 
:warn-unless-encrypted t :capability-command "EHLO localhost.localdomain\n" 
:end-of-command "^[0-9]+ .*\n" :success "^2.*\n" :always-query-capabilities t 
:starttls-function #[(capabilities) "\301\302\"\205\303\207" [capabilities 
string-match "[ -]STARTTLS" "STARTTLS\n"] 3] :client-certificate t 
:use-starttls-if-possible t))
  open-network-stream("smtpmail" #<buffer *trace of SMTP session to 
smtp.aim.com*> "smtp.aim.com" 587 :type nil :return-list t 
:warn-unless-encrypted t :capability-command "EHLO localhost.localdomain\n" 
:end-of-command "^[0-9]+ .*\n" :success "^2.*\n" :always-query-capabilities t 
:starttls-function #[(capabilities) "\301\302\"\205\303\207" [capabilities 
string-match "[ -]STARTTLS" "STARTTLS\n"] 3] :client-certificate t 
:use-starttls-if-possible t)
  smtpmail-via-smtp(("address@hidden" "address@hidden") #<buffer  smtpmail 
temp> t)
  smtpmail-via-smtp(("address@hidden" "address@hidden") #<buffer  smtpmail 
temp>)
  smtpmail-send-it()
  (if (and to (or (string-match (concat ".+@" system-name) to) (string-match 
"address@hidden" to) (string-match "address@hidden" to))) 
(message-send-mail-with-sendmail) (smtpmail-send-it))
  (let ((to (save-restriction (message-narrow-to-headers) (message-fetch-field 
"to")))) (if (and to (or (string-match (concat ".+@" system-name) to) 
(string-match "address@hidden" to) (string-match "address@hidden" to))) 
(message-send-mail-with-sendmail) (smtpmail-send-it)))
  message-send-mail-with-sendmail-or-smtp()
  message-multi-smtp-send-mail()
  gnus-agent-send-mail()
  message-send-mail(nil)
  message-send-via-mail(nil)
  message-send(nil)
  message-send-and-exit(nil)
  funcall-interactively(message-send-and-exit nil)
  call-interactively(message-send-and-exit nil nil)
  command-execute(message-send-and-exit)


  Looking in the *Messages* buffer I see:

Sending via mail...
Unknown extension mtaout-mad01.mx.aol.com
Unknown extension pipelining
Unknown extension (auth=xoauth2 plain login xaol-uas-mb)
auth-source-search: found 1 backends matching (:host "smtp.aim.com" :port "587" 
:user nil :max 1 :require nil :create nil)
auth-source-netrc-parse: using CACHED file data for ~/.authinfo.gpg
auth-source-search: found 0 results (max 1) matching (:host "smtp.aim.com" :port
 "587" :user nil :max 1 :require nil :create nil)
250 2.1.0 Ok
553 5.7.1 <address@hidden>: Sender address rejected: not logged in
221 2.0.0 Bye



    The SMTP response "250 2.1.0" (and subsequent 553 5.7.1 response)
    seems to indicate that at least the connection to the SMTP service
    port was successful even though the server required authenication
    in order to submit the email -- so the submission failed.

    This means that the "smtp.aim.com/587 Name or service not known"
    error message was erroneous.

    I tried to send again 3 times using "C-c C-c" (message-send-and-exit)
    getting the same error each time.

    The 4th time I typed C-u C-c C-c and was prompted for my credentials
    although it still failed, as before but at least my credentials were
    now cached.

    By the 7th time it went through successfully.

    Is sendmail.el and/or its underlying `network-stream-open-starttls`
    function not able to deal with "553 5.7.1" SMTP responses?
    
    Shouldn't sendmail.el immediately  prompt for SMTP authenication
    credentials after the first "553 5.7.1" rejection response?
    
    What finally triggered the prompting for my credentials?  Was
    using C-u (universal-argument) a coincidense in getting prompted
    for my credentials after the 3rd "553 5.7.1" rejection response?

    Once my credentials were cached, why was I still getting the
    "Sender address rejected: not logged in" error message?
    Why wasn't I then subsequentially authenticated (logged in)?

    Thanks.




In GNU Emacs 25.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.20.9)
 of 2016-10-13 built on buildvm-05.phx2.fedoraproject.org
Windowing system distributor 'Fedora Project', version 11.0.11803000
Configured using:
 'configure --build=x86_64-redhat-linux-gnu
 --host=x86_64-redhat-linux-gnu --program-prefix=
 --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
 --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
 --libexecdir=/usr/libexec --localstatedir=/var
 --sharedstatedir=/var/lib --mandir=/usr/share/man
 --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3
 --with-gpm=no --with-xwidgets build_alias=x86_64-redhat-linux-gnu
 host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g
 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Summary

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-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
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
auth-source-netrc-saver: found previous run for key ~/.authinfo.gpg 
7e2b17175bdba355d062dee59cba8b07, returning
250 2.1.0 Ok
250 2.1.5 Ok [2 times]
354 End data with <CR><LF>.<CR><LF>
Sending email 
Sending email done
250 2.0.0 Ok: queued as 1EC7A38000088
221 2.0.0 Bye
Sending...done
previous-line: Beginning of buffer [5 times]
funcall-interactively: Beginning of buffer

Load-path shadows:
None found.

Features:
(shadow emacsbug debug mailalias smtpmail sendmail kmacro two-column
iso-transl pp shr-color color shr dom subr-x browse-url sort gnus-cite
smiley ansi-color mail-extr qp gnus-async gnus-bcklg gnus-ml disp-table
misearch multi-isearch nnagent nnml cursor-sensor nndraft nnmh
mm-archive jka-compr timezone url-http url-gw url-cache url-auth
url-handlers utf-7 rfc2104 nnfolder network-stream nsm starttls
gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp
gnus-cache epa-file epa derived nnreddit mm-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util url-parse auth-source cl-seq eieio eieio-core cl-macs url-vars
json map seq byte-opt bytecomp byte-compile cl-extra cconv gnus-art
mm-uu mml2015 mm-view mml-smime smime dig mailcap cl gv sieve sieve-mode
sieve-manage nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud
nnimap nnmail mail-source tls gnutls utf7 netrc parse-time gnus-spec
gnus-int gnus-range message dired format-spec rfc822 mml mml-sec
password-cache epg epg-config mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader
gnus-win gnus gnus-ems wid-edit nnoo nnheader gnus-util mm-util help-fns
help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils
time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote dbusbind inotify dynamic-setting
system-font-setting font-render-setting xwidget-internal move-toolbar
gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 21507979 779427)
 (symbols 48 310377 30)
 (miscs 40 315 1644)
 (strings 32 1404435 59478)
 (string-bytes 1 90208481)
 (vectors 16 240967)
 (vector-slots 8 3599984 60964)
 (floats 8 583 1646)
 (intervals 56 3034989 5408)
 (buffers 976 67)
 (heap 1024 825762 60939))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]