* Gnus in an Exchange Server environment with authentication
@ 2003-01-16 21:22 Don Dwiggins
2003-01-17 8:48 ` Simon Josefsson
0 siblings, 1 reply; 5+ messages in thread
From: Don Dwiggins @ 2003-01-16 21:22 UTC (permalink / raw)
I've been happily using Gnus for a while now in a corporate environment,
interacting with the Exchange server via POP and SMTP. Recently, the
network admin made a change to Exchange that makes it impossible for me to
send mail to an outside address via SMTP -- I get something to the effect
that it can't relay the message (I had to get a newer version of SMTPmail.el
just to be able to talk to Exchange at all). I suspect that it has to do
with Exchange using NT Integrated Authentication, which is how Outlook talks
to it.
I'm a Python developer, and have found that I can send messages using CDO
(Windows Collaboration Data Objects). I'm thinking about writing a little
Python application that I can call from Emacs (possibly using Pymacs) to
send a message, but I'm not sure where to start on the Emacs side.
Any pointers toward this or better approaches appreciated.
--
Don Dwiggins "Solvitur Ambulando"
d.l.dwiggins@computer.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnus in an Exchange Server environment with authentication
2003-01-16 21:22 Gnus in an Exchange Server environment with authentication Don Dwiggins
@ 2003-01-17 8:48 ` Simon Josefsson
2003-01-18 18:20 ` Don Dwiggins
0 siblings, 1 reply; 5+ messages in thread
From: Simon Josefsson @ 2003-01-17 8:48 UTC (permalink / raw)
Cc: ding
Don Dwiggins <dond@advancedmp.com> writes:
> I've been happily using Gnus for a while now in a corporate environment,
> interacting with the Exchange server via POP and SMTP. Recently, the
> network admin made a change to Exchange that makes it impossible for me to
> send mail to an outside address via SMTP -- I get something to the effect
> that it can't relay the message (I had to get a newer version of SMTPmail.el
> just to be able to talk to Exchange at all). I suspect that it has to do
> with Exchange using NT Integrated Authentication, which is how Outlook talks
> to it.
>
> I'm a Python developer, and have found that I can send messages using CDO
> (Windows Collaboration Data Objects). I'm thinking about writing a little
> Python application that I can call from Emacs (possibly using Pymacs) to
> send a message, but I'm not sure where to start on the Emacs side.
>
> Any pointers toward this or better approaches appreciated.
Maybe you can authenticate yourself in SMTP. For XEmacs, upgrade
mail-lib and look in smtpmail.el; for Emacs you need to wait for Emacs
21.4 (or use CVS sendmail.el + smtpmail.el).
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnus in an Exchange Server environment with authentication
2003-01-17 8:48 ` Simon Josefsson
@ 2003-01-18 18:20 ` Don Dwiggins
2003-01-19 18:51 ` Kai Großjohann
2003-01-19 20:22 ` Simon Josefsson
0 siblings, 2 replies; 5+ messages in thread
From: Don Dwiggins @ 2003-01-18 18:20 UTC (permalink / raw)
Simon Josefsson writes:
> Maybe you can authenticate yourself in SMTP. For XEmacs, upgrade
> mail-lib and look in smtpmail.el; for Emacs you need to wait for Emacs
> 21.4 (or use CVS sendmail.el + smtpmail.el).
Thanks, but I'm doing that already. I picked up the newer smtpmail.el, and
now I can send mail within the company, but not to outside addresses (the
"can't relay" problem that I mentioned).
I'm in an area where my understanding is sketchy, but I think I need somehow
to manage NTLM-style authentication before Exchange will agree to send my
messages out. As I said, I can do it successfully using CDO from Python, so
I'm kind of focusing on that approach. What I think I'm asking for here is
some guidance on writing an elisp wrapper that will fit in the message mode
mail sending "system", and that will call a Python script to get the work
done.
--
Don Dwiggins "In a time of drastic change it is the learners who
d.l.dwiggins@computer.org survive; the 'learned' find themselves fully equipped
to live in a world that no longer exists."
-- Eric Hoffer
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnus in an Exchange Server environment with authentication
2003-01-18 18:20 ` Don Dwiggins
@ 2003-01-19 18:51 ` Kai Großjohann
2003-01-19 20:22 ` Simon Josefsson
1 sibling, 0 replies; 5+ messages in thread
From: Kai Großjohann @ 2003-01-19 18:51 UTC (permalink / raw)
Don Dwiggins <d.l.dwiggins@computer.org> writes:
> I'm in an area where my understanding is sketchy, but I think I need somehow
> to manage NTLM-style authentication before Exchange will agree to send my
> messages out. As I said, I can do it successfully using CDO from Python, so
> I'm kind of focusing on that approach. What I think I'm asking for here is
> some guidance on writing an elisp wrapper that will fit in the message mode
> mail sending "system", and that will call a Python script to get the work
> done.
Well, you can look at the various message-send-mail-with-*
functions. Maybe if you can make your script be call-compatible with
sendmail, then you can just use message-send-mail-with-sendmail and
change the variable sendmail-program.
--
Ambibibentists unite!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnus in an Exchange Server environment with authentication
2003-01-18 18:20 ` Don Dwiggins
2003-01-19 18:51 ` Kai Großjohann
@ 2003-01-19 20:22 ` Simon Josefsson
1 sibling, 0 replies; 5+ messages in thread
From: Simon Josefsson @ 2003-01-19 20:22 UTC (permalink / raw)
Cc: ding
Don Dwiggins <d.l.dwiggins@computer.org> writes:
> Simon Josefsson writes:
>
>> Maybe you can authenticate yourself in SMTP. For XEmacs, upgrade
>> mail-lib and look in smtpmail.el; for Emacs you need to wait for Emacs
>> 21.4 (or use CVS sendmail.el + smtpmail.el).
>
> Thanks, but I'm doing that already. I picked up the newer smtpmail.el, and
> now I can send mail within the company, but not to outside addresses (the
> "can't relay" problem that I mentioned).
>
> I'm in an area where my understanding is sketchy, but I think I need somehow
> to manage NTLM-style authentication before Exchange will agree to send my
> messages out. As I said, I can do it successfully using CDO from Python, so
> I'm kind of focusing on that approach. What I think I'm asking for here is
> some guidance on writing an elisp wrapper that will fit in the message mode
> mail sending "system", and that will call a Python script to get the work
> done.
Perhaps you can use sendmail.el and frob `sendmail-program'; it is
made for delivering via an external program.
FYI, if it is NTLM via SASL, smtpmail.el/imap.el/sieve.el/more? will
use the elisp SASL library in the future (iff the copyrights can be
assigned), and it contains a NTLM SASL mechanism. The XEmacs sieve
package already use it, mail-lib will likely too soon. Then you can
use smtpmail.el. But perhaps it isn't NTLM in SASL.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-01-19 20:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-16 21:22 Gnus in an Exchange Server environment with authentication Don Dwiggins
2003-01-17 8:48 ` Simon Josefsson
2003-01-18 18:20 ` Don Dwiggins
2003-01-19 18:51 ` Kai Großjohann
2003-01-19 20:22 ` Simon Josefsson
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).