From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14362 Path: news.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.gnus.user Subject: Re: Multiple sources and accounts with GNUS Date: Tue, 21 Dec 2010 20:14:21 +0100 Message-ID: <20101221201421.bc2b1b75.wavexx@users.sf.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1292959249 326 80.91.229.12 (21 Dec 2010 19:20:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Dec 2010 19:20:49 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Dec 21 20:20:43 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 1PV7lG-0003SN-Kh for gegu-info-gnus-english@m.gmane.org; Tue, 21 Dec 2010 20:20:38 +0100 Original-Received: from localhost ([127.0.0.1]:33015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PV7fV-0001gC-43 for gegu-info-gnus-english@m.gmane.org; Tue, 21 Dec 2010 14:14:41 -0500 Original-Received: from [140.186.70.92] (port=55811 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PV7fS-0001g7-Qn for info-gnus-english@gnu.org; Tue, 21 Dec 2010 14:14:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PV7fR-0007oZ-U7 for info-gnus-english@gnu.org; Tue, 21 Dec 2010 14:14:38 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:48405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PV7fR-0007oD-NW for info-gnus-english@gnu.org; Tue, 21 Dec 2010 14:14:37 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PV7fM-000098-Pr for info-gnus-english@gnu.org; Tue, 21 Dec 2010 20:14:32 +0100 Original-Received: from eurac.edu ([217.199.4.101]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Dec 2010 20:14:32 +0100 Original-Received: from wavexx by eurac.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Dec 2010 20:14:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: eurac.edu X-Newsreader: Sylpheed 3.1.0beta4 (GTK+ 2.20.1; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:14362 Archived-At: 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?