all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Changing the SMTP port
Date: Wed, 12 Mar 2014 01:56:16 +0100	[thread overview]
Message-ID: <87eh28nsjz.fsf@web.de> (raw)
In-Reply-To: 87r469zm2q.fsf@robertthorpeconsulting.com

Hi Robert,

> I recently switched from Emacs 23 to Emacs 24.3.  Message now uses the
> Auth-Source library instead of smtp-auth-credentials.

> How is the server port supposed to be specified now?  It used to be in
> smtp-auth-credentials.  The entry in .authinfo is "25" if I change that
> then whenever I send an email I'm prompted for a username and password
> and Emacs puts another entry in .authinfo with 25 for the port number.

That's probably not enough.  With your solution, I think Gnus still
tries port 25, but doesn't find an according line in .authinfo.  So you
probably must configure this in Gnus as well, e.g. in your posting
styles.  I'm no Gnus expert, so this is more or less my experience based
knowledge.

But as an example I can give you my (working) configuration of my
googlemail account using port 587 for smtp.  This is the entry I have in
`gnus-posting-styles':

        ("@googlemail.com"
         ("X-Message-SMTP-Method" "smtp smtp.googlemail.com 587 heerdegen.michael")
         (address "heerdegen.michael@googlemail.com"))

and this is my according line in my .authinfo:

machine smtp.googlemail.com login heerdegen.michael port 587 password foo


HTH,

Michael.




  reply	other threads:[~2014-03-12  0:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-10 23:10 Changing the SMTP port Robert Thorpe
2014-03-12  0:56 ` Michael Heerdegen [this message]
2014-03-12  1:35   ` Robert Thorpe
2014-03-12  1:51     ` Michael Heerdegen
2014-03-12  2:16       ` Robert Thorpe
     [not found] ` <mailman.17006.1394585811.10748.help-gnu-emacs@gnu.org>
2014-03-12  1:07   ` Joost Kremers
2014-03-12  1:28     ` Michael Heerdegen

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=87eh28nsjz.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@gnu.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.