From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: D P Schreber Newsgroups: gmane.emacs.help Subject: Re: How to send a mail using smtp? Date: 19 Dec 2004 17:21:31 GMT Message-ID: <32lrkrF3nb855U1@individual.net> References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1103477088 23616 80.91.229.6 (19 Dec 2004 17:24:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Dec 2004 17:24:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 19 18:24:38 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 1Cg4nN-0000Bi-00 for ; Sun, 19 Dec 2004 18:24:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cg4xm-0005cu-St for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Dec 2004 12:35:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-X-Trace: individual.net GNYF2AZ9qBnv8LzrJCAwQwpwJpPmGQS/8fnwhl9BcEQ+1VVW40 User-Agent: slrn/0.9.8.1 (Darwin) Original-Xref: shelby.stanford.edu gnu.emacs.help:127425 Original-To: help-gnu-emacs@gnu.org 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:22872 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22872 On 2004-12-19, Tim McNamara wrote: > 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 I'm pretty sure the default osx configuration has MAILSERVER in /etc/hostconfig set to "-AUTOMATIC-". That's certainly how all my Macs are configured, and I don't remember doing this myself. With this setting, no listener on port 25 will be started, but sendmail will work fine, including queuing when necessary. Of course you might need to make adjustments to /etc/postfix/main.cf, particularly if your host has a lan address. That's not to say that osx users should necessarily use the sendmail emacs package rather than the smtpmail package. But they can if they want to. And the previous poster is right: smtpmail is not the best choice if you're not sure the remote server is accessible at the time you're trying to send mail. With sendmail you don't have to worry about that.