Re: smtp router

2001-06-18 Thread Peter van Dijk

On Mon, Jun 18, 2001 at 05:14:48PM +0200, Federico wrote:
 I need to make this possible with qmail:
 
 I've this structure INTERNETQMAIL-EXCHANGE
 
 i need that ALL incoming mail from internet are sent directly to exchange and the 
outgoing mail are sent normally.
 
 it is possible? 

Yes.

 how?

Put your qmail box as primary MX in DNS. Set smtproutes entries (man
qmail-remote) for all domains, to your exchange box. Read the FAQ on
how to allow your (internal) network to use the qmail box as a relay.
Configure the exchange box to use your qmail box as a smarthort.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: smtp router

2001-06-18 Thread Charles Cazabon

Federico [EMAIL PROTECTED] wrote:

 it is possible?  how?
 
`man qmail-control`.  Follow the reference to smtproutes.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: smtp router

2001-06-18 Thread Ahmad Ridha

Federico writes: 

 I need to make this possible with qmail: 
 
 I've this structure INTERNETQMAIL-EXCHANGE 
 
 i need that ALL incoming mail from internet are sent directly to exchange and the 
outgoing mail are sent normally. 
 
 it is possible? 
 how? 
 

(In /var/qmail/control/)
Create a file called smtproutes containing: 

:IP of Exchange server 

and remove the entries of locals and virtualdomains 

Regards, 

Ahmad Ridha



Re: smtp router

2001-06-18 Thread Greg White

On Mon, Jun 18, 2001 at 05:14:48PM +0200, Federico wrote:
 I need to make this possible with qmail:
 
 I've this structure INTERNETQMAIL-EXCHANGE
 
 i need that ALL incoming mail from internet are sent directly to exchange and the 
outgoing mail are sent normally.
 
 it is possible? 
 how?
 

It's trivial, presuming that all incoming domains are known -- use
/var/qmail/control/smtproutes. Warning, ISTR that Exchange servers are
vulnerable to dirty percenthack relay vulnerabilites, and it is
non-trivial to disable.

Other than that, we used that exact setup when execs at a former company
of mine insisted that Exchange was the only way to go, and all the
admins refused to connect the Exchange server directly to the internet.
;)

-- 
Greg White



Re: smtp router

2001-06-18 Thread Henning Brauer

On Mon, Jun 18, 2001 at 03:48:23PM +, Ahmad Ridha wrote:
 Federico writes:  
  I need to make this possible with qmail: 
  I've this structure INTERNETQMAIL-EXCHANGE 
  i need that ALL incoming mail from internet are sent directly to exchange and the 
outgoing mail are sent normally. 
  it is possible? 
  how? 
 (In /var/qmail/control/)
 Create a file called smtproutes containing: 
 :IP of Exchange server 
 and remove the entries of locals and virtualdomains 

Definitely not. This causes a loop.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: smtp router

2001-06-18 Thread Greg White

On Mon, Jun 18, 2001 at 03:48:23PM +, Ahmad Ridha wrote:
 Federico writes: 
 
  I need to make this possible with qmail: 
  
  I've this structure INTERNETQMAIL-EXCHANGE 
  
  i need that ALL incoming mail from internet are sent directly to exchange and the 
outgoing mail are sent normally. 
  
  it is possible? 
  how? 
  
 
 (In /var/qmail/control/)
 Create a file called smtproutes containing: 
 
 :IP of Exchange server 
 
 and remove the entries of locals and virtualdomains 
 
 Regards, 
 
 Ahmad Ridha

Umm, that would be, to put it mildly, bad, unless you intend to _relay_
all mail from the Exchange server as well as sending all inbound mail to
it. If the OP sets up his Exchange server with qmail as the smarthost
(which is what he sounds like he wants), this will create a mail loop.
Only domains in rcpthosts should be in smtproutes with the setup it
sounds to me like he's asking for...

-- 
Greg White



RE: smtp router

2001-06-18 Thread Kirti S. Bajwa



Federico:

I have 
same arrangement on my system. I have setup Exchange to check mail on Qmail 
every 5 minutes. I do not know if there is any setup in qmail to automatically 
send the mail to Exchange. If you received a suggestion to accomplish it, fine, 
otherwise, email me in couple of days and I will guide you to setup Exchange to 
retrieve mail from qmail.
Kirti 

  -Original Message-From: Federico 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, June 18, 2001 8:15 
  AMTo: [EMAIL PROTECTED]Subject: smtp 
  router
  I need to make this possible with 
  qmail:
  
  I've this structure 
  INTERNETQMAIL-EXCHANGE
  
  i need that ALL incoming mail from internet are 
  sent directly to exchange and the outgoing mail are sent 
normally.
  
  it is possible? 
  how?
  


Re: smtp router

2001-06-18 Thread Ahmad Ridha

Greg White writes: 

 (In /var/qmail/control/)
 Create a file called smtproutes containing:  
 
 :IP of Exchange server  
 
 and remove the entries of locals and virtualdomains  
 
 Regards,  
 
 Ahmad Ridha
 
 Umm, that would be, to put it mildly, bad, unless you intend to _relay_
 all mail from the Exchange server as well as sending all inbound mail to
 it. If the OP sets up his Exchange server with qmail as the smarthost
 (which is what he sounds like he wants), this will create a mail loop.
 Only domains in rcpthosts should be in smtproutes with the setup it
 sounds to me like he's asking for... 
 
 -- 
 Greg White

Oops, sorry, didn't think about that. Yes, you're right. The qmail server
should *only* relay e-mails from the Exchange server, shouldn't it? 

Regards, 

Ahmad Ridha