Hi,
Thank you for your response. So that means if I receive mail for
abc.com
zxy.org
bac.gov
I should put ONLY these domains on my /var/qmail/control/rcpthosts file and
everything should be ok. Ande qmail will automatically accepts mail only
from those IPs mentioned
on /etc/tcp.smtp files.
KK
At 11:26 AM 11/27/99 +0300, you wrote:
>On Sat, Nov 27, 1999 at 01:57:12PM +0300, IT Personal wrote:
>
>> Hi,
>>
>> I did take off the
>> :allow
>> entry from my /etc/tcp.smtp file now it looks like this
>>
>> 202.51.69.:allow,RELAYCLIENT=""
>> 127.:allow,RELAYCLIENT=""
>>
>> and I did the create the complied
>> tcp.smtp.cdb file and run the /usr/local/bin/tcpserver with -x
>> /etc/tcp.smtp.cdb
>>
>> But still my mail server is open to the outside world.
>> One Thing I do not have is /var/qmail/control/rcpthosts file, I removed it,
>> will that make any difference for my attempt to crate the anti-relay mail
>> server?
>
>That's your problem. YOU MUST HAVE AN RCPTHOSTS FILE, and it must
>contain all the domains that you receive mail *for*. For qmail to
>then allow relaying, it will ignore the rcpthosts file only for
>those IPS you've listed in your tcp.smtp rules file.
>
>