Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Hans-Christian Prytz <hcp_public@prytz.net>
Subject: gnus and SMTP AUTH
Date: Mon, 15 Dec 2003 13:00:28 +0100	[thread overview]
Message-ID: <87u142wasj.fsf@pc1864ws.ft.dep.no> (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


                 reply	other threads:[~2003-12-15 12:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87u142wasj.fsf@pc1864ws.ft.dep.no \
    --to=hcp_public@prytz.net \
    /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).