From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14366 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.user Subject: Re: Multiple sources and accounts with GNUS Date: Wed, 22 Dec 2010 14:58:48 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1293028815 27802 80.91.229.12 (22 Dec 2010 14:40:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Dec 2010 14:40:15 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Dec 22 15:40:11 2010 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 1PVPrP-00084p-Av for gegu-info-gnus-english@m.gmane.org; Wed, 22 Dec 2010 15:40:11 +0100 Original-Received: from localhost ([127.0.0.1]:44867 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVPrO-0002II-Q9 for gegu-info-gnus-english@m.gmane.org; Wed, 22 Dec 2010 09:40:10 -0500 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 32 Original-NNTP-Posting-Host: 85.183.18.158 Original-X-Trace: quimby.gnus.org 1293026328 7830 85.183.18.158 (22 Dec 2010 13:58:48 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 22 Dec 2010 13:58:48 +0000 (UTC) User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.gnus:85092 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:14366 Archived-At: Yuri D'Elia writes: > On Mon, 20 Dec 2010 17:42:25 +0100 > Richard Riley wrote: > >> My code above selects the msmtp profile to use based on the From >> address which, im turn, is set by gnus-posting-styles but hopefully you >> can adjust as appropriate. >> >> Googling up the key vars above and msmtp should provide the info you >> need. > > msmtp is a nice solution, but I don't really want to store the password on disk (typing at every message is not a nice solution either). > > I tried to go with the smtpmail route, but failed quickly. > > I have an SMTP server that requires encryption via STARTTLS on port 25. > The following minimal configuration: > > smtpmail-debug-info t > smtpmail-debug-verb t > smtpmail-auth-credentials '(("smtp.server" 25 "me" nil)) > smtpmail-starttls-credentials '(("smtp.server", 25, nil, nil)) > smtpmail-smtp-server "smtp.server") > > asks for my credentials, but it doesn't actually call STARTTLS (I can verify it from the SMTP trace). > > Ideas? > I would love to see a solution of msmtp working with gpg-agent. There is one out there somewhere but 'twas a tad convoluted.