Gnus development mailing list
 help / color / mirror / Atom feed
* Sending mail with Exchange?
@ 2009-04-29 18:14 Norman Walsh
  2009-04-30 19:14 ` Ted Zlatanov
  0 siblings, 1 reply; 13+ messages in thread
From: Norman Walsh @ 2009-04-29 18:14 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 972 bytes --]

Bleh.

I'm under more pressure these days to change my mail setup so that it
talks to Microsoft Exchange to send mail (yes, there's an SMTP
solution, but the admin isn't keeping aliases up-to-date on the SMTP
server, so I periodically get bounces.)

Doable?

FWIW, I currently use Exim4 to actually do the sending (so that I can
split between work and non-work SMTP servers based on destination
address, another freaking headache), so maybe this is more of an exim4
question, but I know there's been periodic effort to make gnus talk to
Exchange, so I thought I'd start here...

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | There are infinite possibilities of
http://nwalsh.com/            | error, and more cranks take up
                              | unfashionable untruths than
                              | unfashionable truths.--Bertrand Russell

[-- Attachment #2: Type: application/pgp-signature, Size: 185 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Sending mail with Exchange?
  2009-04-29 18:14 Sending mail with Exchange? Norman Walsh
@ 2009-04-30 19:14 ` Ted Zlatanov
  2009-05-01 18:45   ` Norman Walsh
  0 siblings, 1 reply; 13+ messages in thread
From: Ted Zlatanov @ 2009-04-30 19:14 UTC (permalink / raw)
  To: ding

On Wed, 29 Apr 2009 14:14:57 -0400 Norman Walsh <ndw@nwalsh.com> wrote: 

NW> I'm under more pressure these days to change my mail setup so that it
NW> talks to Microsoft Exchange to send mail (yes, there's an SMTP
NW> solution, but the admin isn't keeping aliases up-to-date on the SMTP
NW> server, so I periodically get bounces.)

NW> Doable?

NW> FWIW, I currently use Exim4 to actually do the sending (so that I can
NW> split between work and non-work SMTP servers based on destination
NW> address, another freaking headache), so maybe this is more of an exim4
NW> question, but I know there's been periodic effort to make gnus talk to
NW> Exchange, so I thought I'd start here...

Something like this:

http://www.codeguru.com/cpp/i-n/network/messaging/article.php/c5417

may work for you as the transmission layer.

Ted




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Sending mail with Exchange?
  2009-04-30 19:14 ` Ted Zlatanov
@ 2009-05-01 18:45   ` Norman Walsh
  2009-05-08 18:02     ` Ted Zlatanov
  0 siblings, 1 reply; 13+ messages in thread
From: Norman Walsh @ 2009-05-01 18:45 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

Ted Zlatanov <tzz@lifelogs.com> writes:
> Something like this:
>
> http://www.codeguru.com/cpp/i-n/network/messaging/article.php/c5417

Maybe. But in the meantime, I also discovered DavMail, a proxy that
will turn SMTP into Exchange-speak. It handles iCal syncing too and
theoretically LDAP lookup, though I haven't got that part working yet.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | A man may fulfill the object of his
http://nwalsh.com/            | existence by asking a question he
                              | cannot answer, and attempting a task he
                              | cannot achieve.--Oliver Wendell Holmes

[-- Attachment #2: Type: application/pgp-signature, Size: 185 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Sending mail with Exchange?
  2009-05-01 18:45   ` Norman Walsh
@ 2009-05-08 18:02     ` Ted Zlatanov
  2009-05-09 18:11       ` DavMail rocks! (Was: Sending mail with Exchange?) Steinar Bang
  2009-05-11 14:35       ` Sending mail with Exchange? Norman Walsh
  0 siblings, 2 replies; 13+ messages in thread
From: Ted Zlatanov @ 2009-05-08 18:02 UTC (permalink / raw)
  To: ding

On Fri, 01 May 2009 14:45:01 -0400 Norman Walsh <ndw@nwalsh.com> wrote: 

NW> Ted Zlatanov <tzz@lifelogs.com> writes:
>> Something like this:
>> 
>> http://www.codeguru.com/cpp/i-n/network/messaging/article.php/c5417

NW> Maybe. But in the meantime, I also discovered DavMail, a proxy that
NW> will turn SMTP into Exchange-speak. It handles iCal syncing too and
NW> theoretically LDAP lookup, though I haven't got that part working yet.

Great, let us know how it works out, especially the calendar sync.  I'll
probably set that up for myself to accomodate my company's "Exchange
uber alles" policy.

Ted




^ permalink raw reply	[flat|nested] 13+ messages in thread

* DavMail rocks! (Was: Sending mail with Exchange?)
  2009-05-08 18:02     ` Ted Zlatanov
@ 2009-05-09 18:11       ` Steinar Bang
  2009-05-10  7:14         ` DavMail rocks! Steinar Bang
  2009-05-11 13:48         ` Wes Hardaker
  2009-05-11 14:35       ` Sending mail with Exchange? Norman Walsh
  1 sibling, 2 replies; 13+ messages in thread
From: Steinar Bang @ 2009-05-09 18:11 UTC (permalink / raw)
  To: ding

>>>>> Ted Zlatanov <tzz@lifelogs.com>:

> On Fri, 01 May 2009 14:45:01 -0400 Norman Walsh <ndw@nwalsh.com> wrote: 
NW> Ted Zlatanov <tzz@lifelogs.com> writes:
>>> Something like this:
>>> 
>>> http://www.codeguru.com/cpp/i-n/network/messaging/article.php/c5417

NW> Maybe. But in the meantime, I also discovered DavMail, a proxy that
NW> will turn SMTP into Exchange-speak. It handles iCal syncing too and
NW> theoretically LDAP lookup, though I haven't got that part working yet.

> Great, let us know how it works out, especially the calendar sync.  I'll
> probably set that up for myself to accomodate my company's "Exchange
> uber alles" policy.

http://davmail.sourceforge.net/

Indeed, Norm's twitter tweet on the subject (first hit on "twitter
proxy" on google).

I wish I'd known about this one earlier.  But perhaps it hasn't existed
until now?

Can Gnus be set up to use different SMTP hosts, depending on what host
it's reading mail from?

Ie. can I have two different nnimap servers, with email responses to
messages from the servers, going to two different SMTP servers?

Back in the old days, when I was using a Ubuntu laptop, I did this trick
in the laptop's exim configuration.  But on a windows laptop, the
solution has to be inside Gnus.




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DavMail rocks!
  2009-05-09 18:11       ` DavMail rocks! (Was: Sending mail with Exchange?) Steinar Bang
@ 2009-05-10  7:14         ` Steinar Bang
  2009-05-11 13:48         ` Wes Hardaker
  1 sibling, 0 replies; 13+ messages in thread
From: Steinar Bang @ 2009-05-10  7:14 UTC (permalink / raw)
  To: ding

>>>>> Steinar Bang <sb@dod.no>:

> http://davmail.sourceforge.net/

> Indeed, Norm's twitter tweet on the subject (first hit on "twitter
> proxy" on google).

That was supposed to be "davmail proxy" (the google search string).

(and he didn't say what the current subject says, I know.  Those are my
words).

But DavMail still looks like something I've looked for, for a long long
time. 




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DavMail rocks!
  2009-05-09 18:11       ` DavMail rocks! (Was: Sending mail with Exchange?) Steinar Bang
  2009-05-10  7:14         ` DavMail rocks! Steinar Bang
@ 2009-05-11 13:48         ` Wes Hardaker
  2009-05-11 14:36           ` Norman Walsh
  1 sibling, 1 reply; 13+ messages in thread
From: Wes Hardaker @ 2009-05-11 13:48 UTC (permalink / raw)
  To: ding

>>>>> On Sat, 09 May 2009 20:11:51 +0200, Steinar Bang <sb@dod.no> said:

SB> Can Gnus be set up to use different SMTP hosts, depending on what host
SB> it's reading mail from?

Gnus' setup for outgoing smtp servers isn't very easily tweakable (yes
you can do it and yes I have, but...).

I've found using msmtp significantly superior, which sends mail based on
what address you're sending it from.
-- 
"In the bathtub of history the truth is harder to hold than the soap,
 and much more difficult to find."  -- Terry Pratchett



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Sending mail with Exchange?
  2009-05-08 18:02     ` Ted Zlatanov
  2009-05-09 18:11       ` DavMail rocks! (Was: Sending mail with Exchange?) Steinar Bang
@ 2009-05-11 14:35       ` Norman Walsh
  2009-05-14 18:36         ` Steinar Bang
  1 sibling, 1 reply; 13+ messages in thread
From: Norman Walsh @ 2009-05-11 14:35 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 774 bytes --]

Ted Zlatanov <tzz@lifelogs.com> writes:

> Great, let us know how it works out, especially the calendar sync.

FWIW, calendar sync seems to work just fine. (Though having colleagues
adding things to my calendar when I'm not looking is taking a little
getting used to.)

I still don't have LDAP worked out, so address lookup doesn't work and
I think this impacts the ability to deal with calendar invites. But I
expect I'll work out the LDAP settings eventually.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | As we grow older we grow both more
http://nwalsh.com/            | foolish and wiser at the same time.--La
                              | Rochefoucauld

[-- Attachment #2: Type: application/pgp-signature, Size: 185 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DavMail rocks!
  2009-05-11 13:48         ` Wes Hardaker
@ 2009-05-11 14:36           ` Norman Walsh
  2009-05-18 16:18             ` Wes Hardaker
  0 siblings, 1 reply; 13+ messages in thread
From: Norman Walsh @ 2009-05-11 14:36 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

Wes Hardaker <wes@hardakers.net> writes:
> I've found using msmtp significantly superior, which sends mail based on
> what address you're sending it from.

I use exim4 so that the server used is based on who I'm sending mail
*to*. This means that all users @company.com go through Exchange, but
every else goes through outbound mailhop at dyndns.org, even if there
are a mixture of addresses in a single message.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | The shoe that fits one person pinches
http://nwalsh.com/            | another; there is no recipe for living
                              | that suits all cases.-- Jung

[-- Attachment #2: Type: application/pgp-signature, Size: 185 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Sending mail with Exchange?
  2009-05-11 14:35       ` Sending mail with Exchange? Norman Walsh
@ 2009-05-14 18:36         ` Steinar Bang
  0 siblings, 0 replies; 13+ messages in thread
From: Steinar Bang @ 2009-05-14 18:36 UTC (permalink / raw)
  To: ding

>>>>> Norman Walsh <ndw@nwalsh.com>:

> FWIW, calendar sync seems to work just fine. (Though having colleagues
> adding things to my calendar when I'm not looking is taking a little
> getting used to.)

What calendar do you use on emacs?  Plain diary?  Or something else?




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DavMail rocks!
  2009-05-11 14:36           ` Norman Walsh
@ 2009-05-18 16:18             ` Wes Hardaker
  2009-05-21 11:09               ` Steinar Bang
  0 siblings, 1 reply; 13+ messages in thread
From: Wes Hardaker @ 2009-05-18 16:18 UTC (permalink / raw)
  To: Norman Walsh; +Cc: ding

>>>>> On Mon, 11 May 2009 07:36:58 -0700, Norman Walsh <ndw@nwalsh.com> said:

NW> I use exim4 so that the server used is based on who I'm sending mail
NW> *to*. This means that all users @company.com go through Exchange, but
NW> every else goes through outbound mailhop at dyndns.org, even if there
NW> are a mixture of addresses in a single message.

I used to do that.  Unfortunately, now days many sites reject mail based
on the From address and the fact that it didn't start at what the
@example.com's SPF record should have said it would start from.  Thus, I
had to eventually switch to sending mail through servers based on where
I said I was sending mail from, rather than who I was talking to.  I
tried fighting it for a while, but in the end I didn't win.
-- 
"In the bathtub of history the truth is harder to hold than the soap,
 and much more difficult to find."  -- Terry Pratchett



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DavMail rocks!
  2009-05-18 16:18             ` Wes Hardaker
@ 2009-05-21 11:09               ` Steinar Bang
  2009-05-21 14:06                 ` Steinar Bang
  0 siblings, 1 reply; 13+ messages in thread
From: Steinar Bang @ 2009-05-21 11:09 UTC (permalink / raw)
  To: ding

>>>>> Wes Hardaker <wes@hardakers.net>:

> I used to do that.  Unfortunately, now days many sites reject mail
> based on the From address and the fact that it didn't start at what
> the @example.com's SPF record should have said it would start from.
> Thus, I had to eventually switch to sending mail through servers based
> on where I said I was sending mail from, rather than who I was talking
> to.  I tried fighting it for a while, but in the end I didn't win.

That's what I did too.  Ie. base the choice of relay on the From
address, and not the recipients.




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DavMail rocks!
  2009-05-21 11:09               ` Steinar Bang
@ 2009-05-21 14:06                 ` Steinar Bang
  0 siblings, 0 replies; 13+ messages in thread
From: Steinar Bang @ 2009-05-21 14:06 UTC (permalink / raw)
  To: ding

>>>>> Steinar Bang <sb@dod.no>:

> That's what I did too.  Ie. base the choice of relay on the From
> address, and not the recipients.

(Because trying to base the relay on the receipient, caused bounces)





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-05-21 14:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-29 18:14 Sending mail with Exchange? Norman Walsh
2009-04-30 19:14 ` Ted Zlatanov
2009-05-01 18:45   ` Norman Walsh
2009-05-08 18:02     ` Ted Zlatanov
2009-05-09 18:11       ` DavMail rocks! (Was: Sending mail with Exchange?) Steinar Bang
2009-05-10  7:14         ` DavMail rocks! Steinar Bang
2009-05-11 13:48         ` Wes Hardaker
2009-05-11 14:36           ` Norman Walsh
2009-05-18 16:18             ` Wes Hardaker
2009-05-21 11:09               ` Steinar Bang
2009-05-21 14:06                 ` Steinar Bang
2009-05-11 14:35       ` Sending mail with Exchange? Norman Walsh
2009-05-14 18:36         ` Steinar Bang

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