all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rene <jlr_0@yahoo.com>
To: emacs-devel@gnu.org
Subject: Using smtps over port 465 in emacs24
Date: Thu, 15 Dec 2011 03:45:08 +0000 (UTC)	[thread overview]
Message-ID: <loom.20111215T041634-591@post.gmane.org> (raw)

emacs-version "24.0.92.1"

I didn't encounter any problem using the smtp protocol on port 25.  But now that
my company has turned to a secured smtp server I now should be using the smtps
protocol on port 465. Unfortunately I cannot seem to make this work.  

Besides I don't get any error message at all which leaves me with no clue on how
to debug this problem although both `smtpmail-debug-verb' and
`smtpmail-debug-info' are set to t.

*Here is my configuration*

(setq smtpmail-smtp-server "smtps.company.domain.name")
(setq smtpmail-smtp-service 465)
(setq user-mail-address "my.name@domain.name")
(setq smtpmail-local-domain "domain.name")
(setq smtpmail-smtp-user "loginName")

*Here is the corresponding line in my ~/.authinfo.gpg*

machine smtps.company.domain.name  login loginName   password xxx  port 465

*Here is the trace*

Debugger entered--Lisp error: (quit)
    accept-process-output(#<process smtpmail> 0 50)

  network-stream-get-response(#<process smtpmail> 1 "^[0-9]+ .*^M\n")

  network-stream-open-starttls("smtpmail" #<buffer *trace of SMTP
  session to smtps.company.domain.name*>
  "smtps.company.domain.name" 465 (:type nil :return-list t
  :capability-command "EHLO machine.domain.name^M\n" :end-of-command
  "^[0-9]+ .*^M\n" :success "^2.*\n" :always-query-capabilities t
  :starttls-function #[(capabilities) "\301\302^H\"\205^H^@\303\207"
  [capabilities string-match "[ -]STARTTLS" "STARTTLS^M\n"] 3]
  :client-certificate t :use-starttls-if-possible t))

  open-network-stream("smtpmail" #<buffer *trace of SMTP session to
  smtps.company.domain.name*> "smtps.company.domain.name" 465
  :type nil :return-list t :capability-command "EHLO
  machine.domain.name^M\n" :end-of-command "^[0-9]+ .*^M\n" :success
  "^2.*\n" :always-query-capabilities t :starttls-function
  #[(capabilities) "\301\302^H\"\205^H^@\303\207" [capabilities
  string-match "[ -]STARTTLS" "STARTTLS^M\n"] 3] :client-certificate t
  :use-starttls-if-possible t)

  byte-code("\306\307\310^H\"!^Qr q\210\311^R\312
  \210)\313\211^[^\\314\315 ^H^M\316^N@\317\311\320\307\321\322
  (...)
  [host process-buffer buffer-undo-list coding-system-for-write
  coding-system-for-read port get-buffer-create format "*trace of SMTP
  session to %s*" t erase-buffer binary open-network-stream "smtpmail"
  :type :return-list :capability-command "EHLO %s^M\n" smtpmail-fqdn
  :end-of-command "^[0-9]+ .*^M\n" :success "^2.*\n"
  :always-query-capabilities :starttls-function #[(capabilities)
  "\301\302^H\"\205^H^@\303\207" [capabilities string-match "[
  -]STARTTLS" "STARTTLS^M\n"] 3] :client-certificate
  :use-starttls-if-possible throw done plist-get :error "Unable to
  contact server" set-process-filter smtpmail-process-filter :greeting
  smtpmail-response-code "No greeting: %s" 400 "Connection not
  allowed: %s" set-buffer-process-coding-system raw-text-unix
  make-local-variable smtpmail-read-point :capabilities
  smtpmail-command-or-throw "HELO %s" delete "" split-string ...] 24)

  smtpmail-via-smtp((#("Jean-Luc.Koning@esisar.domain.name" 0 38
  (fontified nil))) #<buffer smtpmail temp>)

  smtpmail-send-it()

  mail-send()

  vm-mail-send()

  ad-Orig-vm-mail-send-and-exit(nil)

  apply(ad-Orig-vm-mail-send-and-exit nil)

  vm-mail-send-and-exit(nil)

  call-interactively(vm-mail-send-and-exit)



Any help is much welcome.

--
Rene




             reply	other threads:[~2011-12-15  3:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-15  3:45 Rene [this message]
2011-12-16  9:08 ` Using smtps over port 465 in emacs24 Julien Danjou
2011-12-18  4:05   ` Rene
2011-12-18 17:16   ` Rene
2011-12-19  0:57     ` Uday S Reddy
2011-12-19  1:44       ` Rene
2012-01-03 19:41     ` 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=loom.20111215T041634-591@post.gmane.org \
    --to=jlr_0@yahoo.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.