all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcelo Toledo <marcelo@marcelotoledo.org>
Subject: Re: Mail Authentication
Date: Thu, 18 Dec 2003 16:03:29 -0400	[thread overview]
Message-ID: <87k74tdhbi.fsf@kali.intranet> (raw)
In-Reply-To: <m3brq6t57d.fsf@ate.maierh> (Harald Maier's message of "Thu, 18 Dec 2003 18:18:30 +0100")

Just remember that port has no "'s. It must be written 25 and not "25".

Harald Maier <harald@maierh.de> writes:

> 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

-- 
Marcelo Toledo
marcelo@marcelotoledo.org
http://www.marcelotoledo.org
Mobile: 55 71 9141-7181

  reply	other threads:[~2003-12-18 20:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.273.1071769083.868.help-gnu-emacs@gnu.org>
2003-12-18 17:18 ` Mail Authentication Harald Maier
2003-12-18 20:03   ` Marcelo Toledo [this message]
2003-12-18 18:06 ` Kevin Rodgers
2003-12-18 20:47   ` gebser
2003-12-18 20:53     ` gebser
2003-12-19  8:13   ` Norbert Kaufmann
     [not found] <mailman.332.1071807351.868.help-gnu-emacs@gnu.org>
2003-12-19 17:00 ` Kevin Rodgers
     [not found] <mailman.303.1071784651.868.help-gnu-emacs@gnu.org>
2003-12-18 23:44 ` Kevin Rodgers
2003-12-19  3:13   ` gebser
2003-12-18 16:35 gebser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k74tdhbi.fsf@kali.intranet \
    --to=marcelo@marcelotoledo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.