From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13930 Path: news.gmane.org!not-for-mail From: Hugh Lawson Newsgroups: gmane.emacs.gnus.user Subject: Re: msmtp instead of gnutls was Re: gnutls windows smtp Date: Mon, 05 Apr 2010 15:21:41 -0400 Organization: Usenet Monster Unlimited - http://www.usenetmonster.com Message-ID: <877hold7sq.fsf@gmail.com> References: <28cc156e-b321-4e62-83ef-34c17200a1bd@n34g2000yqb.googlegroups.com> <87ocibavbc.fsf@desktop.xx.yy> <85k4svqpow.fsf@free.fr> <84fx3i2xtp.fsf@triad.rr.com> <84hbnxjxq6.fsf_-_@gmail.com> <87hbnxed2o.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273155133 22221 80.91.229.12 (6 May 2010 14:12:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 May 2010 14:12:13 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu May 06 16:12:11 2010 connect(): No such file or directory Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OA1oA-0005Cw-Ir for gegu-info-gnus-english@m.gmane.org; Thu, 06 May 2010 16:12:11 +0200 Original-Received: from localhost ([127.0.0.1]:55627 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA1o9-0008C5-7e for gegu-info-gnus-english@m.gmane.org; Thu, 06 May 2010 10:12:09 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!news-out.readnews.com!postnews3.readnews.com!posts.news.usenetmonster.com!nnrp3-unl.asbnva.usenetmonster.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:+NtUnedHC8M/qICG6w2KyNRS04A= Original-Lines: 50 Original-NNTP-Posting-Host: b8e801f1.unlimited.usenetmonster.com Original-X-Trace: DXC=2idVSYo[6OoiH>_C6lD]Rak\2KDSF=2@bFV0LA4MIjQkmTIDj6@1Wal4VbAMDRe=1kk>0D:hah`9k4Kcll[illVoQAakHcS0Yfo Original-X-Complaints-To: killthespammer@usenetmonster.com Original-Xref: usenet.stanford.edu gnu.emacs.gnus:84218 X-Mailman-Approved-At: Wed, 05 May 2010 21:10:55 -0400 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:13930 Archived-At: Hugh writes: [ snip ] GNU Emacs 23.1.1 (i386-mingw-nt6.0.6002) XP Pro msmtp Goal: use mx-mail in emacs to send email, by the gmail smtp server, and use 'm' command in gnus to send email. Here the the configuration files. #msmtprc.txt--anonymized host smtp.gmail.com port 587 auth on tls on tls_starttls on #next line was the hard part #I had to study tls_trust_file \filename.pem user GMAIL-USER@gmail.com password SECRET from GMAIL-USer@gmail.com #end msmtprc.txt--anonymized ;;started with *empty* .emacs file. ;;.emacs init file--anonymized (global-set-key [f1] `help) (global-set-key "\C-xh" 'help) ;; (setq gnus-select-method '(nntp "my.news.server.com")) (setq message-send-mail-function 'sendmail-send-it) (setq send-mail-function 'sendmail-send-it) (setq sendmail-program "c:/Program Files/msmtp-1.4.20-w32/msmtp.exe") (setq user-full-name "Who Indeed") (setq user-mail-address "GMAIL-USER@gmail.com") ;; end of .emacs init file I started with msmtp. Only when I could by the command line send an email with msmtp did I begin to work with emacs. To keep things simple in emacs, I moved the existing .emacs init file aside, and began with an empty .emacs file. Hugh