Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* gnus and SMTP AUTH
@ 2003-12-15 12:00 Hans-Christian Prytz
  0 siblings, 0 replies; only message in thread
From: Hans-Christian Prytz @ 2003-12-15 12:00 UTC (permalink / raw)


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:<me@external.place> SIZE=318
250 2.1.0 me@external.place....Sender OK
RCPT TO:<another_me@external.place>
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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-15 12:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-15 12:00 gnus and SMTP AUTH Hans-Christian Prytz

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