From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80258 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: smtp crap Date: Sun, 09 Oct 2011 15:06:48 +0900 Message-ID: <87lisuhf5z.fsf@catnip.gol.com> References: <8739f4kzp3.fsf@catnip.gol.com> <8762jz6jhy.fsf@maru.md5i.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318140420 3474 80.91.229.12 (9 Oct 2011 06:07:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 9 Oct 2011 06:07:00 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Michael Welsh Duggan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 09 08:06:56 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RCmXI-0001Bh-FJ for ged-emacs-devel@m.gmane.org; Sun, 09 Oct 2011 08:06:56 +0200 Original-Received: from localhost ([::1]:33790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCmXH-0001qZ-QZ for ged-emacs-devel@m.gmane.org; Sun, 09 Oct 2011 02:06:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCmXF-0001qJ-FG for emacs-devel@gnu.org; Sun, 09 Oct 2011 02:06:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCmXE-0001tu-Ok for emacs-devel@gnu.org; Sun, 09 Oct 2011 02:06:53 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:34488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCmXE-0001tq-Fx; Sun, 09 Oct 2011 02:06:52 -0400 Original-Received: from 61.245.23.167.eo.eaccess.ne.jp ([61.245.23.167] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) (envelope-from ) id 1RCmXB-00016i-3E; Sun, 09 Oct 2011 15:06:49 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id EB034DFB7; Sun, 9 Oct 2011 15:06:48 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: <8762jz6jhy.fsf@maru.md5i.com> (Michael Welsh Duggan's message of "Sat, 08 Oct 2011 21:28:41 -0400") Original-Lines: 26 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 203.216.5.74 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144781 gmane.emacs.gnus.general:80258 Archived-At: Michael Welsh Duggan writes: >> Why does emacs _keep_ asking me if I want to "Set up Emacs for sending >> SMTP mail"?! > > I recently solved this problem for myself. I was seeing the same > behavior. The problem was this: sending mail called the function stored > in message-send-mail-function. This variable is initialized in > message.el from send-mail-function, which defaults to > sendmail-query-once. Once I answered "n" to the query, it changed > send-mail-function for sendmail-send-it via customize. Unfortunately, I > use a separate custom file by setting custom-file in my .emacs.el. At the > end of my .emacs.el, I load the file with (load custom-file). Yes, I also use a separate ".custom" file, so that would appear to be the issue... > I fixed this by loading my custom file before requiring message.el. > Your problem may be different, but if not, this experience of mine > might help. It shouldn't be necessary to do that, though. -Miles -- Accord, n. Harmony.