From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84953 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: separate smtps for my accounts Date: Wed, 17 Sep 2014 10:17:06 +0800 Message-ID: <87iokn0z4t.fsf@ericabrahamsen.net> References: <87tx4dodsj.fsf@skimble.plus.com> <87egvhsi8y.fsf@ericabrahamsen.net> <87k357qiug.fsf@skimble.plus.com> <87wq97m036.fsf@ericabrahamsen.net> <874mw7s894.fsf@skimble.plus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1410920021 10746 80.91.229.3 (17 Sep 2014 02:13:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2014 02:13:41 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33197@lists.math.uh.edu Wed Sep 17 04:13:35 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XU4kQ-0004EV-OX for ding-account@gmane.org; Wed, 17 Sep 2014 04:13:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1XU4je-0007O6-8i; Tue, 16 Sep 2014 21:12:46 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XU4jd-0007Ny-4j for ding@lists.math.uh.edu; Tue, 16 Sep 2014 21:12:45 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XU4ja-00034s-Iu for ding@lists.math.uh.edu; Tue, 16 Sep 2014 21:12:44 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XU4jY-0005mY-L7 for ding@gnus.org; Wed, 17 Sep 2014 04:12:40 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XU4jX-0003rT-H7 for ding@gnus.org; Wed, 17 Sep 2014 04:12:39 +0200 Original-Received: from 114.248.26.115 ([114.248.26.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Sep 2014 04:12:39 +0200 Original-Received: from eric by 114.248.26.115 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Sep 2014 04:12:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 52 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.248.26.115 User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:ASjfDY4ZupVaQZuTHQUj6Df6zag= X-Spam-Score: -2.4 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84953 Archived-At: Sharon Kimble writes: > Eric Abrahamsen writes: > >> Sharon Kimble writes: >> >>> Eric Abrahamsen writes: >>> >>>> Sharon Kimble writes: >>>> >>>>> In my gnus setup I have 1 pop3 account, and 3 imap accounts, but only >>>>> one smtp address. How can I have a separate smtp settings so that I am >>>>> able to reply via the address of the email that I've just received? >>>>> >>>>> Thanks >>>>> Sharon. >>>> >>>> The details depend a little bit on the exact program you're using for >>>> sending mail, but generally the rigmarole looks like this (I use >>>> msmtp): >>> >>> I'm using whatever the default is with Debian testing, sorry! Exim4? I >>> don't know what it is, but reportbug is able to send through it. >>> >>> Sharon. >> >> Here's what I've got for mail sending setup, what is your value of >> message-send-mail-function? >> >> (setq message-send-mail-function 'message-send-mail-with-sendmail) >> (setq sendmail-program "msmtp") >> > Thanks Eric, here’s what I have - > > (setq smtpmail-smtp-server "relay.plus.net") > (setq send-mail-function 'smtpmail-send-it) > (setq message-send-mail-function 'smtpmail-send-it) > (require 'smtpmail) > > (setq smtpmail-auth-credentials "~/.authinfo") I'm not doing what you're doing, so I won't be able to help you directly, but I'll bet you can find a good solution on this page: http://www.emacswiki.org/emacs/MultipleSMTPAccounts Check the section starting "In the recently released Emacs 24.1, one could utilitize the fact..." A unified or built-in solution for this would be pretty nice... E