From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81200 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Multi-SMTP Date: Thu, 02 Feb 2012 14:32:23 +0100 Message-ID: <878vkl4azc.fsf@gnus.org> References: <87k44576et.fsf@gnus.org> <87y5slpf62.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328189564 28837 80.91.229.3 (2 Feb 2012 13:32:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2012 13:32:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29481@lists.math.uh.edu Thu Feb 02 14:32:42 2012 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 1RswmG-0001WV-IP for ding-account@gmane.org; Thu, 02 Feb 2012 14:32:40 +0100 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 1RswmE-0005cK-NI; Thu, 02 Feb 2012 07:32:38 -0600 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 1RswmD-0005c2-Ed for ding@lists.math.uh.edu; Thu, 02 Feb 2012 07:32:37 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RswmC-0000cD-D6 for ding@lists.math.uh.edu; Thu, 02 Feb 2012 07:32:37 -0600 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RswmA-00011e-Uf for ding@gnus.org; Thu, 02 Feb 2012 14:32:35 +0100 Original-Received: from 93-41-188-50.ip82.fastwebnet.it ([93.41.188.50] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Rswm1-000691-4i for ding@gnus.org; Thu, 02 Feb 2012 14:32:25 +0100 In-Reply-To: <87y5slpf62.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 02 Feb 2012 07:56:21 -0500") User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) X-MailScanner-ID: 1Rswm1-000691-4i MailScanner-NULL-Check: 1328794345.54482@O7FUMv6qp+Un+dPNOLB1AQ X-Spam-Status: No X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81200 Archived-At: Ted Zlatanov writes: > Use a plist, please. The tokens should be either > > (smtp (smtpmail :machine "smtp.gmail.com" :port 583 :user "cafe" > :password "mocha")) > > which would then call to auth-source if the user name or password are > not provided, or > > (smtp 'function-or-symbol) ;; eval to get the plist, for easy > auth-source integration Hm... But we consult auth-source anyway to get the credentials, so why would the user want to put the user name/password into the parameters? Are there any use cases for sending messages via the same smtp server, but with different user names? > LI> That would be a pretty flexible mechanism, and allow for easy > LI> customisations by users. > > Works for me, though the first one should be a plist. I'd like to keep the header somewhat human-readable... -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome