From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9724 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.user Subject: Re: SMTP-AUTH and TLS Followup-To: gmane.emacs.gnus.general Date: Thu, 04 Oct 2007 18:44:33 +0200 Organization: T-Online Message-ID: References: <87odfh1x8e.fsf@tobe.homeunix.org> <87hcl76bq5.fsf@tobe.homeunix.org> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191519672 10891 80.91.229.12 (4 Oct 2007 17:41:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Oct 2007 17:41:12 +0000 (UTC) Cc: Simon Josefsson To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Oct 04 19:41:05 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IdUh1-0005Pf-GE for gegu-info-gnus-english@m.gmane.org; Thu, 04 Oct 2007 19:40:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdUgw-0002DJ-WA for gegu-info-gnus-english@m.gmane.org; Thu, 04 Oct 2007 13:40:55 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 43 Original-X-Trace: news.t-online.com 1191516309 03 6581 VN4O1WalIGbuzu6 071004 16:45:09 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: S3kq+qZZYeiXMdSeOnlAIoF-AvpvDAOSyn0ASPLaxxOf-e149kRj48 X-Face: 1; h7XMU[7l}$T@J.D}5z*w8Tg'}B5ArAWc8>2X~otB; kOjKs8X%|hTC#dG:%Vpx")x7S/`v :VXU#fZW$X$zdhEU.RfVQ@<-m9IuN{Hm"fW{,5]6kR'M*vEs+{5Cj!L(JTRzA$(},?5J=sm; %Od Mail-Copies-To: nobody User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:INXgtF/08Av0IdbOJN+vA+lmlQ4= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79928 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9724 Archived-At: On Thu, Oct 04 2007, Tobias Brink wrote: > Tobias Brink 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: ,----[ 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: [Hope this survives all the nntp<->mail gateways.] Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/