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.