From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31679 Path: main.gmane.org!not-for-mail From: Miroslav Zubcic Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus and ESMTP Date: 07 Jul 2000 13:09:02 +0200 Organization: Cheater & son l.t.d. Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035168063 15472 80.91.224.250 (21 Oct 2002 02:41:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:41:03 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by mailhost.sclp.com (Postfix) with ESMTP id 34740D051F for ; Fri, 7 Jul 2000 07:15:00 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id GAC16561; Fri, 7 Jul 2000 06:14:28 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 07 Jul 2000 06:13:36 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id GAA25504 for ; Fri, 7 Jul 2000 06:13:19 -0500 (CDT) Original-Received: from quimby.gnus.org (quimby.gnus.org [193.69.4.139]) by mailhost.sclp.com (Postfix) with ESMTP id C28BAD051F for ; Fri, 7 Jul 2000 07:13:52 -0400 (EDT) Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id NAA18254 for ding@gnus.org; Thu, 6 Jul 2000 13:15:36 +0200 (CEST) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 39 Original-NNTP-Posting-Host: zgis01.ina.hr Original-X-Trace: quimby.gnus.org 962882135 10984 194.152.228.18 (6 Jul 2000 11:15:35 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 6 Jul 2000 11:15:35 GMT Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE X-face: GK)@rjKTDPkyI]TBX{!7&/#rT:#yE\QNK}s(-/!'{dG0r^_>?tIjT[x0aj'Q0u>a yv62CGsq'Tb_=>f5p|$~BlO2~A&%<+ry%+o;k'<(2tdowfysFc:?@($aTGX 4fq`u}~4,0;}y/F*5,9;3.5[dv~C,hl4s*`Hk|1dUaTO[pd[x1OrGu_:1%-lJ]W@ X-Operating-System: GNU/Linux 2.2.16 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Bryce Canyon) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31679 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31679 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > Kevin already mentioned smtpmail.el. No matter what I do with it, Gnus will send mail by calling sendmail binary, not with smtpmail. :-( > From looking at the source, smtpmail.el does not appear to grok ESMTP > AUTH, but it should be possible to replace `open-network-stream' in > the function smtpmail-via-smtp with `open-ssl-stream', and that should > pretty much work. open-ssl-stream is part of ssl.el which comes with W3. You have right Kai! Even to me (no habla LISP) is obvious, I must replace only SMTP commands HELO/EHLO, and some minor changes must be done. For STARTTLS (RFC 2487), ssl.el will be relative easy to implement (on the first look). But for a start I must make smtpmail.el to work with Gnus... I Tryed this: (setq send-mail-function 'smtpmail-send-it) (setq smtpmail-default-smtp-server "anthea") (setq smtpmail-smtp-service "smtp") ;; default port 25 (setq smtpmail-local-domain "mydomain.dom") (setq smtpmail-debug-info t) ;; for a start (load-library "smtpmail") (setq smtpmail-code-conv-from nil) ;;(setq user-full-name "YOUR NAME HERE") ...and I have removed this: (setq gnus-agent-send-mail-function message-send-mail-function) Then I restart XEmacs, but everything is the same, except that mail is queue'ed in Gnus, and when I toggle pluged mode with J-j and send mail with J-S, smtpmail is not used... :-( -- This signature intentionally left blank