From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3277 Path: news.gmane.org!not-for-mail From: Hans-Christian Prytz Newsgroups: gmane.emacs.gnus.user Subject: gnus and SMTP AUTH Date: Mon, 15 Dec 2003 13:00:28 +0100 Message-ID: <87u142wasj.fsf@pc1864ws.ft.dep.no> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669452 18385 80.91.229.2 (31 Jan 2006 01:04:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:04:12 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:31:58 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news2.e.nsc.no.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:Z2mYkDCNqH7vh1r/0IudZ14M/f0= Original-NNTP-Posting-Host: 132.150.170.10 Original-X-Complaints-To: news-abuse@telenor.net Original-NNTP-Posting-Date: Mon, 15 Dec 2003 13:04:30 MET Original-X-Trace: news2.ulv.nextra.no 1071489870 132.150.170.10 Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3418 Original-Lines: 61 X-Gnus-Article-Number: 3418 Tue Jan 17 17:31:58 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3277 Archived-At: Hi, I'm trying to set gnus up to talk directly to my provider's SMTP server. This server requires smtp auth in order to relay mail outside the local domain, but not for local mail. I've already tested this with MozillaThunderbird, and mail is delivered outside (authentication is working). In my .gnus I hvae the following: (names and addresses change to protect the innocent :-) (setq send-mail-function 'smtpmail-send-it) (setq message-send-mail-function 'smtpmail-send-it) (setq smtpmail-default-smtp-server "smtp.mail.server") (setq smtpmail-auth-credentials '(("smtp.mail.server" "25" "myname" nil) ("smtp.mail.server" "25" "myname" nil))) (setq smtpmail-starttls-credentials '(("smtp.mail.server" "25" nil nil))) This does not work, if I set smtpmail-debug-info and smtpmail-debug-verb to t, I get the following trace buffer: 220 smtp.mail.server.local Microsoft ESMTP MAIL Service, Version: 5.0.2195.6713 ready at Mon, 15 Dec 2003 10:57:15 +0100 EHLO my_local.pc.addr 250-smtp.mail.server.local Hello [my_ip_addr] 250-TURN 250-ATRN 250-SIZE 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME 250-CHUNKING 250-VRFY 250-X-EXPS GSSAPI NTLM LOGIN 250-X-EXPS=LOGIN 250-AUTH GSSAPI NTLM LOGIN 250-AUTH=LOGIN 250-X-LINK2STATE 250-XEXCH50 250 OK MAIL FROM: SIZE=318 250 2.1.0 me@external.place....Sender OK RCPT TO: 550 5.7.1 Unable to relay for another_me@external.place QUIT 221 2.0.0 smtp.mail.server.local Service closing transmission channel I have also tried to use "smtp.mail.server.local" in the credentials above, but that didn't help. To me it seems like gnus doesn't detect that auth is availible. Could this perhaps be caused by the "^M"'s the exchange server adds to every line? Any other suggestions on this subject would be great. Thanks Hans-Christian