just put the exchange server in your /var/qmail/control/rcpthosts file
and you should be fine :)
/Martin
Leonard Tulipan wrote:
>
> Did this reach the list?
> I am not so sure, so I am sending this again.
> Sorry if this is a duplicate, but the problem is rather urgent.
>
> > -----Original Message-----
> > From: Leonard Tulipan
> > Sent: Wednesday, October 11, 2000 8:30 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: Problems with RELAYCLIENT
> >
> >
> > Our setup:
> >
> > EXCHANGE SERVER <=> Firewall (qmail) <=> Internet
> >
> > we want the exchange server to relay mails to qmail, and the firewall to
> > only accept mails for our domains, except for the exchange server.
> >
> > As is my understanding I need to set RELAYCLIENT with the help of tcp-env.
> > /var/qmail/control then needs to be setup with all valid domains.
> >
> > Unfortunately I cannot seem to set RELAYCLIENT correctly.
> >
> > So here is my setup
> >
> > linux 2.2.16
> > qmail 1.03 + QMAILQUEUE patch (which also doesn't seem to work, but never
> > mind now)
> >
> > Starting of qmail in /etc/rc.d/init.d with
> >
> > qmail-start '|preline procmail' splogger qmail &
> >
> > my /etc/hosts.allow:
> > tcp-env: 192.168.0.xxx,XXX.bsbanksysteme.com: RELAYCLIENT=""; export
> > RELAYCLIENT
> >
> >
> > I attached "; echo "`date`-$RELAYCLIENT-" >> /tmp/tcp.test" to test and as
> > I see from that file it seems to work.
> > When I now add a rcpthosts file I get EMail sent thru the exchange server
> > returned:
> > 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
> >
> > So it doesn't look as if the RELAYCLIENT realy does work.
> >
> > Any ideas how I can test this or verify if any of the variables does get
> > set.
> >
> > a very desperate
> > Leonard Tulipan
> >
> >