Hello....
 
Qmail can be as a front end server. Firewall will do some port forwarding to qmail... after scanning, qmail will forward emails to Exchange.

What I've done is as below:
 
1) Install Qmail packages, make sure every packages are properly installed.
2) modify /var/qmail/control/rcpthost      to allow your domain to comes in
3) Allow relaying from your Exchange Server ( Users send mails to Exchange, Exchange forward to Qmail then deliver to the World)
    - edit /etc/tcprules.d/tcp.smtp, add a line like [exchange ip]:allow,RELAYCLIENT=""
then run qmailctl cdb to reload
4) When Qmail receive all email for scanning, you must forward the mails to Exchange
    - edit /var/qmail/control/smtproutes     add in your Exchange IP and port eg: [exchangeip:25]
 
** Please don't add any virtual domain with vqadmin. Don't add any domains & alias domains.
 
In Exchange, forward your DNS to your qmail box, then every email will be forward to qmail for scanning, then qmail will deliver to the world.
 
Don't forget to forward all incoming mails from port 25 in firewall to qmail box.
 
For more easier, you may use Webmin to configure Qmail in GUI www.webmin.com
 
That's all about the config.  Let us know the result.
 
You can see through /var/log/qmail/smtp/current & /var/log/qmail/send/current or /var/log/maillog
 
Gabriel
 
----- Original Message -----
From: "Pablo Silva" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, February 16, 2006 1:27 AM
Subject: Re: [qmailtoaster] FastForward dosen't work ... why?

> Hi Again!
>
>  Yes, the principal objective is to set a front
> end server (qmail), and back end server exchange
> server, if you ask for this why?, sorry bussiness
> rules.
>
>  I've tryed to configurate qmail server for
> fastforward, but someting is wrong...
>
>  I prefer to make a slow change, I want to therefore
> redirect the e-mail traffic in firewall...  When the
> change this ready one, then I put qmail like principal
> server...
>
> But now... what's the next?... I'm stop for these
> troubles...
>
> Thanks in Advance!
>
> - Pablo
>


>
> --- Gabriel Lai Yong Shern <
[EMAIL PROTECTED]>
> wrote:
>
>> Hello Pablo,
>>
>> Are you trying to setup a relay server to Exchange
>> Server? I have setup a
>> qmail box for my client as relay server. Meaning
>> that every incoming &
>> outgoing will go through qmail server. In fact,
>> there will be no email
>> accounts in qmail server, it just do email scanning
>> & spamming only. After
>> scanning, it will forward it back to Exchange
>> Server.
>>
>> In this case, Exchange will be a safe server at the
>> back, frontend that's
>> fighting spam and viruses will be Qmail box.
>>
>> My client has been running this method for about 3
>> months, till now, no
>> problem being face by them.
>>
>> You don't really need an alias in Qmail I think.
>>
>> What will be your objective to setup Qmail box to
>> sit in front of Exchange?
>>
>> Gabriel
>>
>>
>>
> ---------------------------------------------------------------------
>>      QmailToaster hosted by: VR Hosted
>> <
http://www.vr.org>
>>
> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>>
[EMAIL PROTECTED]
>> For additional commands, e-mail:
>>
[EMAIL PROTECTED]
>>
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
>
http://mail.yahoo.com
>
> ---------------------------------------------------------------------
>     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