all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Sven Bretfeld <sven.bretfeld@gmx.ch>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Gnus and outgoing Mail
Date: Sun, 09 Dec 2007 19:35:25 +0100	[thread overview]
Message-ID: <873aub90nm.fsf@thievol.homelinux.org> (raw)
In-Reply-To: <87odczd9w4.fsf@kamaloka.dhatu> (Sven Bretfeld's message of "Sun,  09 Dec 2007 19:02:19 +0100")

Sven Bretfeld <sven.bretfeld@gmx.ch> writes:

> 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.
>

I never use exim but may be you can test with nbsmtp that is very light, 
support starttls and have nothing to configure, you just call sendmail 
from gnus and go! 
I have used it with -no starttls protocol- also and it worked fine.

-- 
A + Thierry
Pub key: http://pgp.mit.edu

  reply	other threads:[~2007-12-09 18:35 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
2007-12-09 18:35         ` Thierry Volpiatto [this message]
     [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

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

  git send-email \
    --in-reply-to=873aub90nm.fsf@thievol.homelinux.org \
    --to=thierry.volpiatto@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=sven.bretfeld@gmx.ch \
    /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.