Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: info-gnus-english@gnu.org
Cc: Simon Josefsson <simon@josefsson.org>
Subject: Re: SMTP-AUTH and TLS
Date: Thu, 04 Oct 2007 18:44:33 +0200	[thread overview]
Message-ID: <v9myuyu8we.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87hcl76bq5.fsf@tobe.homeunix.org>

On Thu, Oct 04 2007, Tobias Brink wrote:

> Tobias Brink <tobias.brinkNO.SPAM@gmail.com> writes:
>> I have the following in my .gnus.el:
>>
>>   (setq send-mail-function 'smtpmail-send-it)
>>   (setq message-send-mail-function 'smtpmail-send-it)
>>   (setq smtpmail-starttls-credentials
>>       '(("smtp.myserver.tld" 25 nil nil)))
>>   (setq smtpmail-default-smtp-server "smtp.myserver.tld")
>
> And strangely adding the following at the top fixes it:
>
> ,----
> | (require 'smtpmail)
> | (setq smtpmail-smtp-server "smtp.myserver.tld")
> `----

The doc string of `smtpmail-default-smtp-server' explains it:

,----[ <f1> v smtpmail-default-smtp-server RET ]
| smtpmail-default-smtp-server is a variable defined in `smtpmail'.
| Its value is nil
| 
| Documentation:
| *Specify default SMTP server.
| This only has effect if you specify it before loading the smtpmail library.
| 
| You can customize this variable.
`----

I must admit that I don't understand, why having both variables is a
good idea.

Please follow up on ding, when discussing this:
  Mail-Followup-To: <ding@gnus.org>
[Hope this survives all the nntp<->mail gateways.]

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

  reply	other threads:[~2007-10-04 16:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-02 13:07 Tobias Brink
2007-10-03 23:05 ` Tobias Brink
2007-10-04 16:44   ` Reiner Steib [this message]
2007-10-08 18:03   ` someusernamehere
2007-10-08 18:40     ` Tobias Brink
2007-10-08 20:54       ` someusernamehere

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=v9myuyu8we.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=info-gnus-english@gnu.org \
    --cc=simon@josefsson.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 NNTP newsgroup(s).