Im afraid, i had a wrong view of the system.
Well i must admit that my idea was not very accurate. It was a very easy
way to
make sure that it (somehow) works. But Adam McKenna ist absolutely
right.
Actually it ist not the right way.
So i reproduced your configuration but had no problems.
If your problem still exists, i can send you pieces of my local
configuration files.
Regards.
Giuliano Cocchi wrote:
>
> Yes, deleting rcphosts the relay works correcly. But this pose the problem to
> deny the relay to unwanted people.
> Through the tcp.smtpd i can really manage the relay?
>
> On Tue, 04 Jul 2000, ertan payci wrote:
> > Hello,
> >
> > Let me see if i got it right: you have users using your mailbox as
> > mailhost,and want
> > them to be able to use your mailhost as relay. Right ?
> > IMHO you should just delete rcpthosts and manage your relaying stuff
> > through
> > your tcp.smtp.cdb stuff. Your tcp.smtp looks correct, so give it a
> > trial.
> >
> > Regards
> >
> > Ertan
> >
> > Barry Dwyer wrote:
> > >
> > > Hi all,
> > >
> > > I've got qmail running properly on a system with a DMZ-firewall setup.
> > > All the local clients are behind the firewall, addressed as 192.168.0.n.
> > > The firewall (a debian box) and the mail server are connected to our
> > > ADSL router and both have class-C addresses. The clients all have hosts
> > > files referencing the mail server.
> > >
> > > My tcp.smtp file has proper settings to allow the local clients to work
> > > as RELAYCLIENTS:
> > >
> > > 127.0.0.1:allow,RELAYCLIENT=""
> > > 192.168.0.:allow,RELAYCLIENT=""
> > > :allow
> > >
> > > (I've recompiled it just to be sure and, yes, the reference in the qmail
> > > startup script points to the proper file '-x/etc/tcp.smtp.cdb')
> > >
> > > If I create a rcpthosts file with just the local domain in it (that's
> > > all I want), then every local client that tries to send mail out to the
> > > 'net gets a qmail error message saying the destination domain is not in
> > > the list of receipt hosts (or something to that effect).
> > >
> > > Is the problem that qmail, running on a mail server, with it's class-C
> > > address, doesn't like the "192" block addresses in tcp.smtp? I've set up
> > > qmail servers before as multihomed systems with a class-C card *and* and
> > > internal one. Must I do that here?
> > >
> > > Thanks
> > > Barry Dwyer