Hi Jacob,

At the risk of repeating something someone else has already said on
this thread (I've just rejoined the list)...

If it is fair to say that any mail coming from 'abc.local.net' is 'Trusted',
then you can setup 'abc.valid.net' to accept *any* mail coming from
there. This is dealt with by tcpserver - create a file somewhere on
abc.valid.net containing,
        IP_address_of_abc.local.net:allow,RELAYCLIENT=""
        :allow
- The first line is the special case for your abc.local.net, the 2nd line
covers anywhere else. Use the tcprules command to convert this
file to a cdb file, which can then be used by tcpserver (-x option)
(read a few man pages for exact details of the above).

Also make sure that your smtproutes specifies *only* the domain
you want to forward for, i.e. change,
                :[ip address of the ISP MX]
to
                localdomain:[ip address of the ISP MX]

otherwise you'll find that all mail keeps getting thrown back at
'abc.local.net': If you don't specify a domain, *all* domains follow
this instruction, thus the bouncing.

Hope that helps,

Andrew.

----------
From:   [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
Sent:   26 June 2000 13:49
To:     Qmail Managers
Subject:        Mail queueing in relay host.

Dear Qmail admins,

        The following would solve my problem.  

I just noticed that the mail server xyz.local.net would forward any mails 
which is not meant for the local domain to the mail relay host
abc.valid.net.  But abc.valid.net will only receive mails meant for our
domain(listed in the rcpthosts) and hence would reject all other
mails.  

        Now how do I receive a mail based on the sender address and then
do the forwarding???  Is there anything like rcpthosts file(this does a
check on the recipient address)?  I mean I want it to check on the sender
address  ;-0


Thankyou,

Jacob.


# Thanks to Alan and SriLanka from whom I got a reply.



---------- Forwarded message ----------
Date: Thu, 22 Jun 2000 15:34:45 +0530 (IST)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Mail queueing in relay host. 

Dear Qmail admins,

        We have two computers with one acting as a relay
host(abc.valid.net connected to the internet) and the other, on the local
network(xyz.local.net),  for storing mails.  abc.valid.net is just for
forwarding mails to and from the local mail machine(xyz.local.net).  The
problem I face is that if the internet link is down then the mails sent
bounces back immediately and does not queue up in the abc.valid.net.

        I have setup the control/smtproutes file which has the following
entry:

                :[ip address of the ISP MX]


Should I setup something else?

Thanks in advance.

Regards,

Jacob Rajan,
Systems Manager,
Raman Research Institute,
Bangalore, India.





Reply via email to