From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.help Subject: Re: How to send a mail using smtp? Date: Mon, 20 Dec 2004 10:04:36 +1100 Message-ID: <87652xdh4r.fsf@enki.rimspace.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1103500973 3190 80.91.229.6 (20 Dec 2004 00:02:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Dec 2004 00:02:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 20 01:02:47 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CgB0h-0003L3-00 for ; Mon, 20 Dec 2004 01:02:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CgBB7-0005Lp-7c for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Dec 2004 19:13:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CgBAZ-0005E4-O0 for help-gnu-emacs@gnu.org; Sun, 19 Dec 2004 19:12:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CgBAX-0005DT-Ls for help-gnu-emacs@gnu.org; Sun, 19 Dec 2004 19:12:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CgBAW-0005Ca-SZ for help-gnu-emacs@gnu.org; Sun, 19 Dec 2004 19:12:56 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CgAzc-0006Sq-C9 for help-gnu-emacs@gnu.org; Sun, 19 Dec 2004 19:01:40 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CgAzb-0006fU-00 for ; Mon, 20 Dec 2004 01:01:39 +0100 Original-Received: from 203-217-29-45.perm.iinet.net.au ([203.217.29.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Dec 2004 01:01:38 +0100 Original-Received: from daniel by 203-217-29-45.perm.iinet.net.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Dec 2004 01:01:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 31 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 203-217-29-45.perm.iinet.net.au User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:Dn6oU4CfaqdFErMNqmskznh0eBQ= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22875 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22875 On 20 Dec 2004, Tim McNamara wrote: > Daniel Pittman writes: > >> On 19 Dec 2004, Jack@mail.org wrote: >>> Can you tell me how to config my emacs to send mail by using smtp? >> >> That isn't generally the best plan, since using the local sendmail will >> (usually) still put things in the queue even if the server is down. > > Only on Unix systems with a functioning sendmail. Since Emacs runs > on all platforms, there are many users without sendmail. I use OS X > which has sendmail turned off by default, for example, and I don't > miss it in the slightest. IIRC, Emacs still provides a local MTA, though. I confess: I used 'sendmail' as a shorthand for "a local MTA", and use Postfix myself. In any case, using SMTP for submission in your mailer means that, really, your mailer should implement most of the components of an MTA. Since there are perfectly good packages out there that already implement most of an MTA - the MTAs themselves - better to use one of them than reinvent the wheel badly. :) Daniel -- The world would be a better place if Larry Wall had been born in Iceland, or any other country where the native language actually has syntax. -- Peter da Silva