From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56182 Path: main.gmane.org!not-for-mail From: rossini@blindglobe.net (A.J. Rossini) Newsgroups: gmane.emacs.gnus.general Subject: trying to deal with an smtp server that wants encryption Date: Thu, 22 Jan 2004 23:09:06 -0800 Sender: ding-owner@lists.math.uh.edu Message-ID: <85k73j9m5p.fsf@servant.blindglobe.net> Reply-To: rossini@u.washington.edu NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074841680 25318 80.91.224.253 (23 Jan 2004 07:08:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2004 07:08:00 +0000 (UTC) Original-X-From: ding-owner+M4722@lists.math.uh.edu Fri Jan 23 08:07:53 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AjvQ0-0007yD-00 for ; Fri, 23 Jan 2004 08:07:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AjvPj-00062w-00; Fri, 23 Jan 2004 01:07:35 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AjvPe-00062r-00 for ding@lists.math.uh.edu; Fri, 23 Jan 2004 01:07:30 -0600 Original-Received: from servant.blindglobe.net (sense-sea-MegaSub-2-231.oz.net [216.39.172.231]) by justine.libertine.org (Postfix) with ESMTP id 6FEF83A0033 for ; Fri, 23 Jan 2004 01:07:29 -0600 (CST) Original-Received: from rossini by servant.blindglobe.net with local (Exim 4.30) id 1AjvRC-00023l-5N for ding@gnus.org; Thu, 22 Jan 2004 23:09:06 -0800 Original-To: ding@gnus.org X-Face: >W_Rys'8s0zCUk5iFHk{Sn,Yw"=Z,Qq#v.3FS&**X:wHhFT~%t)F|ze)wKX<1v36_W(0n4-*r[~s_,hK"3DHHga&F6=|a1t8}VBnhQL~]rWOg(L User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Reasonable Discussion, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56182 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56182 Tested environments: Gnus 5.10.6 (Debian), Emacs; No Gnus v0.2, XEmacs starttls-0.9 (compiled from source), gnutls-bin (Debian/Sid 1.0.4) Okay, I've been battling with this for 2 hours now. Kmail took me 3 minutes, but I really don't want to go there. I'm trying to send mail from a remote site (my home) using my school's smtp server. According to what I can find on the WWW, I need to do something like: (require 'smtpmail) (setq smtpmail-auth-credentials '(("smtp.washington.edu" "25" "myusername" "mypassword"))) (setq smtpmail-starttls-credentials '(("smtp.washington.edu" 25 "" "" ))) ; I've tried the following self-signed certs: ; "/home/rossini/Certs/mykey.pem" ; "/home/rossini/Certs/mycert.pem" (setq smtpmail-smtp-server "smtp.washington.edu") ;; If you use the default mail user agent and message (setq send-mail-function 'smtpmail-send-it) (setq message-send-mail-function 'smtpmail-send-it) ;; send mail debug output to a buffer (setq smtpmail-debug-info t) (the *.pem files (key and cert) self-cert'd, I don't think I need them?) As far as I'm aware, I can use either starttls that comes with gnus in the lisp directory, with the starttls 0.9 binary, OR I can use the one in the contrib directory, with gnutls-cli. Using gnutls-cli, I actually get feedback in the *trace* file that I'm doing something right, but it times out and closes. Using starttls, it never really starts the TLS handshake. Any thoughts or assistance would be much appreciated! best, -tony -- rossini@u.washington.edu http://www.analytics.washington.edu/ Biomedical and Health Informatics University of Washington Biostatistics, SCHARP/HVTN Fred Hutchinson Cancer Research Center UW (Tu/Th/F): 206-616-7630 FAX=206-543-3461 | Voicemail is unreliable FHCRC (M/W): 206-667-7025 FAX=206-667-4812 | use Email CONFIDENTIALITY NOTICE: This e-mail message and any attachments may be confidential and privileged. If you received this message in error, please destroy it and notify the sender. Thank you.