From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61833 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: smtp send using odd port Date: Fri, 03 Feb 2006 08:46:52 -0600 Organization: Still searching... Message-ID: <87irrwmrdv.fsf@newsguy.com> References: <87fyn4xzt4.fsf@newsguy.com> <87zml9jchc.fsf@newsguy.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138978274 3916 80.91.229.2 (3 Feb 2006 14:51:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Feb 2006 14:51:14 +0000 (UTC) Original-X-From: ding-owner+m10363@lists.math.uh.edu Fri Feb 03 15:51:06 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F52GW-0004kT-VX for ding-account@gmane.org; Fri, 03 Feb 2006 15:50:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1F52GR-0003dw-00; Fri, 03 Feb 2006 08:50:19 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1F52Da-0003dr-00 for ding@lists.math.uh.edu; Fri, 03 Feb 2006 08:47:22 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1F52DV-00045B-Ho for ding@lists.math.uh.edu; Fri, 03 Feb 2006 08:47:22 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1F52DT-0001ZD-00 for ; Fri, 03 Feb 2006 15:47:15 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F52DI-0003bU-7U for ding@gnus.org; Fri, 03 Feb 2006 15:47:04 +0100 Original-Received: from adsl-68-74-146-31.dsl.emhril.ameritech.net ([68.74.146.31]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Feb 2006 15:47:04 +0100 Original-Received: from reader by adsl-68-74-146-31.dsl.emhril.ameritech.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Feb 2006 15:47:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 98 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-68-74-146-31.dsl.emhril.ameritech.net User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:x9/m4yj/fxg+53iNdUa1vYOlSpM= X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61833 Archived-At: Reiner Steib writes: > On Fri, Feb 03 2006, Harry Putnam wrote: > >> smtpmail-smtp-service is void as a variable. >> >> Documentation: >> Not documented as a variable. > > (require 'smtpmail) > > Note that when using Emacs 21, you need a new version of `smtpmail.el' > which is available from Emacs CVS or Simon Josefsson's web site. > Simon, wouldn't it make sense to add `smtpmail.el' to Gnus' contrib > directory for convenience? Well, I'm using the cvs version of emacs (22.0.50) so would have the appropriate smtpmail.el already? Further; shouldn't having smtpmail type directives in gnus mean this gets loaded on gnus startup? I have this in gnus: (setq send-mail-function 'smtpmail-send-it) ; not for Gnus (setq message-send-mail-function 'smtpmail-send-it) ; for Gnus (setq smtpmail-default-smtp-server "smtp.newsguy.com") (setq user-mail-address "reader@newsguy.com") (setq user-full-name "Harry Putnam") (setq smtpmail-local-domain "newsguy.com") (setq smtpmail-sendto-domain "newsguy.com") (setq smtpmail-debug-info t) ; only to debug problems (setq smtpmail-debug-verb t) ; only to debug problems So does that mean that smtpmail.el was loading? The code above was working when this suprising C-x C-e showed: smtpmail-smtp-service is void as a variable. I had just sent mail and watched the smtp conversation happen. Returned to Hyneck's message since I'd forgotten the proper formulation. And as reported it showed the void thing. Related: I see this phenomena: I get the smtpmail-smtp-service is void report, but if I do Shft-ALT-: on this: (setq smtpmail-smtp-service 8025) Then when doing C-x C-e on: (describe-variable 'smtpmail-smtp-service) I get the expected output: smtpmail-smtp-service is a variable defined in `smtpmail.el'. Its value is 8025 [...] Something seems askew in that. Further, can I get the full smtp conversation some how. Or is this the full conversation (^M 's removed)? I don't see any AUTH happening. 220 newsguy.com ESMTP Sendmail 8.13.1/8.13.1; Fri, 3 Feb 2006 06:43:41 -0800 (PST) EHLO localhost.newsguy.com 250-newsguy.com Hello adsl-68-74-146-31.dsl.emhril.ameritech.net [68.74.146.31], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 10000000 250-ETRN 250-DELIVERBY 250 HELP MAIL FROM: SIZE=313 250 2.1.0 ... Sender ok RCPT TO: 250 2.1.5 ... Recipient ok DATA 354 Enter mail, end with "." on a line by itself From: Harry Putnam To: reader@newsguy.com Subject: testing smtp send Date: Fri, 03 Feb 2006 08:43:42 -0600 Message-ID: <87k6ccmrj5.fsf@newsguy.com> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii test . 250 2.0.0 k13EhfVO029591 Message accepted for delivery QUIT 221 2.0.0 newsguy.com closing connectiony Process SMTP deleted