On Wed, 13 Jul 2005, Keith Warno wrote:
Date: Wed, 13 Jul 2005 10:49:40 -0400
From: Keith Warno <[EMAIL PROTECTED]>
To: qmail-ldap <[email protected]>
Subject: qmail-ldap relaying to Exchange (yuck)
Greetings.
My employer (unfortunately) wants to use a 3rd-party Exhange hosting
service for email stuff. Currently we use a more-or-less stock qmail
install for email. I've been using qmail since its inception; I trust
it and want to continue to trust it.
Our primary MX currently points to our qmail box. I want to keep it
this way. Some of the local users need the third-party Exchange service
and the rest do not, so basically I need the qmail box to deliver mail
locally for some users and relay mail to the Exchange box for those
users who need the Exchange service. The Exchange service will also
(probably) require SMTP auth, so the qmail box will have to be able to
authenticate itself on behalf of those senders that are relaying thru it
to the Exchange box.
I do this, but I don't want all my root mail forwarding to exchange, since
it has the possibility of killing it. I just put a .qmail file in the home
directories of the accounts that I want to forward, and setup exchange to
accept those message, I forward to <account>@exchange.domain.com, where
the MX record for domain.com is the qmail box (boxes actually). This works
great. You can also do this within LDAP by setting a
mailForwardingAddress, or using maildrop (via deliveryProgramPath) then
setting a .mailfilter file in the users home directory.
Andreas Stollar
Senior System Administrator
Speakeasy
Direct > 206.971.5108 Mobile > 206.372.0346 Email > [EMAIL PROTECTED]
www.speakeasy.net Broadband for Open Minds