unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sven Bretfeld <sven.bretfeld@gmx.ch>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus and outgoing Mail
Date: Sun, 09 Dec 2007 19:02:19 +0100	[thread overview]
Message-ID: <87odczd9w4.fsf@kamaloka.dhatu> (raw)
In-Reply-To: <87prxfsrqs.fsf@thievol.homelinux.org> (Thierry Volpiatto's message of "Sun, 09 Dec 2007 18:27:39 +0100")


[-- Attachment #1.1: Type: text/plain, Size: 2649 bytes --]

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Are you sure port 25 with starttls is right? (i use 587 with gmail)

I think so. AFAIK port 587 is used when the authentication is not in
clear text, but encoded via SSL or TLS. This is the German
documentation of gmx concerning the configuration of Thunderbird:

http://faq.gmx.de/messages/mailprogramme/einrichtung/3.html

In "Schritt 7" (step 7) it has a screenshot that shows the settings:
server-name: mail.gmx.net, port: 25, secure connection: never. 

> What do you have in "~/emacs-stuff/mailauth"?
> (you can write the content of this file directly like below)

I (this means my friend) haven't used a credentials file but set the
login information directly in .gnus.el. This is what it looks like:

;; Use gmx smtp server
  (message "Using gmx smtp server")
  (setq starttls-use-gnutls t
       starttls-gnutls-program "gnutls-cli"
       starttls-extra-arguments nil)
  (setq smtpmail-local-domain nil
       send-mail-function 'smtpmail-send-it
       message-send-mail-function 'smtpmail-send-it
       message-send-mail-partially-limit nil
       smtpmail-default-smtp-server "mail.gmx.net"
       smtpmail-smtp-server "mail.gmx.net"
       smtpmail-debug-info t
       smtpmail-debug-verb t
       smtpmail-auth-credentials 
        '(("mail.gmx.net" 25 "GMX_USERNAME" "GMX_PASSWORD"))
       smtpmail-starttls-credentials 
        '(("mail.gmx.net" 25 nil nil))
       smtpmail-smtp-server "mail.gmx.net" )
 (setq user-full-name "Stjepan Beles")
 (setq user-mail-address "b.stjepan@gmx.de")

> Here is my config with gmail if it can help:
>
> (setq message-send-mail-function 'smtpmail-send-it)
> (setq smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil)))
> (setq smtpmail-auth-credentials '(("smtp.gmail.com" 587 
> "my_email_adress" "my_password")))
>
> (setq smtpmail-default-smtp-server "smtp.gmail.com")
> (setq smtpmail-smtp-server "smtp.gmail.com")
> (setq smtpmail-smtp-service 587)

Looks quite similar apart from the port number.

I have the impression that setting starttls-use-gnutls to non-nil is
the wrong way. Except the gmx folks write nonsense in their
documentation (what can be the case anyway). But it didn't work before
either.

A different idea. Is is possible that the MTA (exim4) doesn't allow
passwords to be send away in clear text, which is a damn security risk
anyway. Should we try to install sendmail instead? I still don't know
how I can find out if the error occurs in Emacs or in exim. The
*Messages* buffer isn't very informative in this case.

Greetings

Sven

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

  reply	other threads:[~2007-12-09 18:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4774.1197157208.18990.help-gnu-emacs@gnu.org>
2007-12-09  1:38 ` Gnus and outgoing Mail Exal de Jesus Garcia Carrillo
2007-12-09 16:51   ` Sven Bretfeld
2007-12-09 17:27     ` Thierry Volpiatto
2007-12-09 18:02       ` Sven Bretfeld [this message]
2007-12-09 18:35         ` Thierry Volpiatto
     [not found]   ` <mailman.4798.1197219115.18990.help-gnu-emacs@gnu.org>
2007-12-09 20:26     ` Exal de Jesus Garcia Carrillo
2007-12-10  0:45       ` Sebastian Tennant
2007-12-10  1:16         ` Sven Bretfeld
     [not found]         ` <mailman.4819.1197249427.18990.help-gnu-emacs@gnu.org>
2007-12-10  5:16           ` Exal de Jesus Garcia Carrillo
2007-12-12 23:26   ` [Solved] " Sven Bretfeld
2007-12-13 10:41     ` Sebastian Tennant
2007-12-08 23:39 Sven Bretfeld
2007-12-09  7:24 ` Thierry Volpiatto
2007-12-09 14:16   ` Sven Bretfeld
2007-12-09 14:33     ` Thierry Volpiatto
2007-12-09 14:38       ` Reiner Steib

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87odczd9w4.fsf@kamaloka.dhatu \
    --to=sven.bretfeld@gmx.ch \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).