You can try this:
1. Users that stay in Qmailtoaster, create the account there.
2. Turn on Catchall to a special account called "catchall".
3. Run fetchmail to retrieve this catchall and feed it to Exchange. See
config below.

That settle the Inbound.

Qmailtoaster users should have no problem for Outbound because they
point their SMTP to Qmailtoaster's IP.

Exchange user also use Qmailtoaster's IP to send email, and they have to
point to Qmailtoaster for sending, not to Exchange's IP. And you can't
use SMTP AUTH for exchange user... unless you create one special user
called "exchange" and shared among all exchange user to use qmailtoaster
SMTP AUTH. Well, if you hard working, then create all the accounts of
Exchange user in Qmailtoaster and then let Exchange come to take the
mail, or you use the same Fetchmail technique to "push" for them.

Sample working fetchmailrc file.

defaults
        fetchall
poll localhost
        proto imap
        localdomains example.com no dns qvirtual example.com- envelope
Delivered-To:
        user "[EMAIL PROTECTED]"
        pass "xxxxxx"
        is root *
        fetchall
        smtphost 1.2.3.4  (exchange's IP)
        dropdelivered

Run the fetchmail this way: fetchmail -f /path/to/fetchmailrc

You can write a script that run the command above every 5 min or less.

Hope it work...

Jean-Paul van de Plasse wrote:
> You could add an forward to every mailbox to the exchange server i guess..
> never tried this myself but I would figure it should work;
> 
> For example your real domain is:
> mydomain.com
> 
> - add to smtprouting
> myvirtualdomain.com:ipadres of exchange server
> 
> - make exchange accept both mydomain.com and myvirtualdomain.com
> 
> - add an forward in the users mail box to : [EMAIL PROTECTED]
> (for every user)
> 
> 
> Option two would be to have the exchange server collect the email via
> the pop-connector.
> Requires your accounts to leave the mail on the server for at least some
> time.
> 
> And an other option might be qmail-tap
> http://www.inter7.com/?page=qmailtap
> But that requires some qmail patches.
> 
> Goodluck!
> 
> 
> ----- Original Message ----- From: "Gabriel Lai Yong Shern"
> <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Thursday, March 23, 2006 11:12 AM
> Subject: Re: [qmailtoaster] Rerouting mails to Exchange
> 
> 
>> as far as I know... relaying mails from qmail to exchange can be done
>> as proposed only.
>>
>> Cheers.
>>
>> ---------------------------------------------------------------------
>>     QmailToaster hosted by: VR Hosted <http://www.vr.org>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> ---------------------------------------------------------------------
>     QmailToaster hosted by: VR Hosted <http://www.vr.org>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
Yeak Nai Siew                    [ Your Open Source Partner ]
System Consultant

My Directory Sdn Bhd (487437-D)
#34-03 Menara Dion, 27 Jalan Sultan Ismail
50250 Kuala Lumpur, Malaysia
tel +603 20704278  fax +603 20704281  http://www.md.com.my

LINUX SUPPORT | ENTERPRISE INFRASTRUCTURE | ENTERPRISE EMAIL

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to