Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

Qmail and exchange issues

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


jasons at adventureaquarium

Feb 5, 2010, 8:36 AM

Post #1 of 2 (888 views)
Permalink
Qmail and exchange issues

Hi all
We are in the process of moving our exchange server which is front ended by qmail. I have had connectors set in exchange to forward all outbound mail through the qmail server and it's been great for years. I now have a issues with bounces, as we are moving users to the new exchange server the users that have been moved are not getting emails from internal users. I know this might sound like a total MS issue but I'm wondering if there's something I can set on the qmail server that would work like this.

Old server sends email to user on new server - old server sends email to qmail - qmail sees it's from the old server to the same domain - qmail routes to the new server for delivery.

I'm sure if I drop the connectors from exchange for qmail it might work but that I think would break more things then this idea

TIA

Jason



..·><((((º>


mbhangui at gmail

Feb 5, 2010, 7:02 PM

Post #2 of 2 (836 views)
Permalink
Re: Qmail and exchange issues [In reply to]

On Fri, Feb 5, 2010 at 10:06 PM, Jason Staudenmayer
<jasons [at] adventureaquarium> wrote:
> Hi all
> We are in the process of moving our exchange server which is front
> ended by qmail. I have had connectors set in exchange to forward all
> outbound mail through the qmail server and it's been great for years.

OK

> users. I know this might sound like a total MS issue but I'm wondering if
> there's something I can set on the qmail server that would work like this.
>
> Old server sends email to user on new server - old server sends email to qmail - qmail sees it's from the old server to the same domain - qmail routes to the new server for delivery.

I can think of 3 ways to do it. (listed below in increasing order of
complexity)

1. Rename qmail-remote to qmail-remote.orig
write a shell script qmail-remote in /var/qmail/bin
#!/bin/sh
sender=$2
recipient=$3
grep -w $recipient /var/qmail/control/migratedusers.txt >/dev/null 2>&1
if [ $? -eq 0 ] ; then
exec /var/qmail/bin/qmail-remote.orig $newhost $sender $recipient
else
exec /var/qmail/bin/qmail/remote.orig $*
fi
copy the above shell script with execute permissions to /var/qmail/bin
after renaming original qmail-remote to qmail-remote.orig

2. Use moresmtproutes patch. Follow the discussion below
http://www.gossamer-threads.com/lists/qmail/users/137183

3. Use indimail from http://www.indimail.org. IndiMail can act as proxy for
multiple users located on different exchange servers (in fact any server
that supports smtp)

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.