From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: send-mail-function / mailclient Date: Tue, 20 Jan 2009 15:06:53 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232482179 14421 80.91.229.12 (20 Jan 2009 20:09:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2009 20:09:39 +0000 (UTC) To: Stefan Monnier , Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 20 21:10:51 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LPMvs-0008Gj-7U for ged-emacs-devel@m.gmane.org; Tue, 20 Jan 2009 21:10:44 +0100 Original-Received: from localhost ([127.0.0.1]:53222 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPMub-00073Y-4E for ged-emacs-devel@m.gmane.org; Tue, 20 Jan 2009 15:09:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPMsG-0006Fk-BM for emacs-devel@gnu.org; Tue, 20 Jan 2009 15:07:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPMsF-0006F9-Bh for emacs-devel@gnu.org; Tue, 20 Jan 2009 15:06:59 -0500 Original-Received: from [199.232.76.173] (port=59597 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPMsE-0006F3-TA for emacs-devel@gnu.org; Tue, 20 Jan 2009 15:06:58 -0500 Original-Received: from an-out-0708.google.com ([209.85.132.247]:3082) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LPMsE-0001lY-Ce for emacs-devel@gnu.org; Tue, 20 Jan 2009 15:06:58 -0500 Original-Received: by an-out-0708.google.com with SMTP id b6so40130ana.21 for ; Tue, 20 Jan 2009 12:06:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=rrwck91RNFrcPfUL2x8XTeJtALGUZwSer0G+IoevptA=; b=hnqvVj+LRvJsMi4pKdG6s40nUHdf94rc8InCzqxj/7BF8qYsHZV/+BDEtx4W6uH/af Y6d4TsPFJOHeY+sXmpp06dWuNVu2Sm4O3YzT+ZRLL33aH/bbweWbuhKQvfkITnIyIovX IJFfwfmWsMDPrtNIxgo6UhQN7cm6mGt8bGX0Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=sIqlhkXOFyRkKh0Vb+fkL7RuQWcyDuHh/KpGF/ETGkPosCSNR54bOxEpkTKn8FWVCf Szo9SUDvgLA+5sO6atIkGYlLeWPtqE5BzJM9ep/xJuXMVk+GvqefHCvYX42TUSeKr0nj Oy8gF30f4KBlJo6jAOtRlUjWSFU0n5IW+UjaI= Original-Received: by 10.100.122.8 with SMTP id u8mr680745anc.131.1232482017179; Tue, 20 Jan 2009 12:06:57 -0800 (PST) Original-Received: from SCARLETT.PSY.CMU.EDU (SCARLETT.PSY.CMU.EDU [128.2.249.106]) by mx.google.com with ESMTPS id c28sm4008832anc.5.2009.01.20.12.06.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 Jan 2009 12:06:55 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108016 Archived-At: On 19 Jan 2009, at 23:52, Stefan Monnier wrote: >> On the downside, I find that sending mail Postfix-style does not >> work as >> well as it used to, due to crippled mail servers that refuse to >> accept mail >> from dynamic IP ranges (i.e. home broadband) as a spam- >> defense. > > Yes, that's the problem. Nowadays, "systems" are basically not > allowed > to email any more, only "users". So using `postfix' (which is not > under the control of a user. but only under the control of the system) > doesn't cut it. In order to use the `mailclient' method on all systems, we should consider the following issues: - some incorrect implementations of mail clients (notably GMail Notifier) fails to handle long URLs. In the case of Gmail it seems to be the server software that cuts off long URLs (intentionally, I assume). You may argue that this is a bug in these "mail clients", but that doesn't help our users. I have received several bug reports from Aquamacs users regarding this and I now use a workaround that falls back to the "sendmail" method if Gmail is used. - Buffers are edited twice - once in Emacs, and then again in the mail client. The mailto:// protocol wasn't designed to handle full messages to be sent off without editing. We're abusing the protocol. Sending bug reports may best be handled by composing the template and then having users edit the report in their preferred mail client. Sending e-mail with packages such as VM requires user to configure an SMTP server anyways, so `send-mail-function' can be expected to be customized,too. - What happens if Emacs is used as mailto:// handler? At least on my system, we don't provide the function directly, but in principle, users should be able to do this. If GNU/Linux has some kind of accepted standard to announce "I can handle xxx:// URLs", then perhaps we should implement it (for all systems).