From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Harald Maier Newsgroups: gmane.emacs.help Subject: Re: Mail Authentication Date: Thu, 18 Dec 2003 18:18:30 +0100 Organization: 1&1 Internet AG Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: Harald Maier NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1071768807 14577 80.91.224.253 (18 Dec 2003 17:33:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2003 17:33:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 18 18:33:23 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AX21a-00062V-00 for ; Thu, 18 Dec 2003 18:33:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AX2we-0003Mf-0K for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Dec 2003 13:32:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!newsfeed.stueberl.de!npeer.de.kpn-eurorings.net!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: p5088ea8b.dip0.t-ipconnect.de Original-X-Trace: online.de 1071767911 3381 80.136.234.139 (18 Dec 2003 17:18:31 GMT) Original-X-Complaints-To: abuse@einsundeins.com Original-NNTP-Posting-Date: Thu, 18 Dec 2003 17:18:31 +0000 (UTC) User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:wz1R8YjSd63Gx6vBTnGDJ5G5QT8= Original-Xref: shelby.stanford.edu gnu.emacs.help:119482 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15422 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15422 gebser@speakeasy.net writes: > Finally I got emacs' mail working... to a degree. I can send mail with > it, but only to users on the same machine. If I try to send outside > (via my ISP), I get nothing. That is to say, I know that emacs is > connecting to the ISP and handing off the email, but it never gets > delivered. I suspect that the ISP is simply tossing it out due to lack > of authentication from me. I found a couple functions alleged to remedy > that: > > ;; Authenticate using this username and password against my server. > (setq smtpmail-auth-credentials > '(("hostname" "port" "username" "password"))) > ;; Use STARTTLS without authentication against the server. > (setq smtpmail-starttls-credentials > '(("hostname" "port" nil nil))) > > > For "hostname" I don't know whether to fill in my (the local machine's) > hostname (just the hostname or host.domain.com?) or that of my ISP, or > the one in one function and the other in the second function. Here an example that works (although it is in comments): ;; (setq smtpmail-auth-credentials ;; '( ;; ("auth.mail.onlinehome.de" 25 "cc35217168-1" "xxxxxx") ;; )) The hostname is the system name of your provider smtp (outgoing) mailserver. > Also, I use a couple different email addresses (usernames and passwords) > on the same ISP-- how would I handle that in (setq > smtpmail-auth-credentials ...)? I have not tried it by myself but I think if it is a valid user name at your ISP then you should be able to use it. Harald