How do I limit which domains sendmail can send to?
I need to limit sendmail from sending mail to anyone but our domain. I do not administer our corporate firewall or routers. I'm sure this is an easy fix but I haven't found it yet.
|
make it entry in host.allow file...whome u want or deny..
|
Quote:
|
Quote:
It defines the hosts that can connect to a service (if you use gentoo tcp-wrappers should be installed and the tcpd use flag should be set for this). But that is not what you want. |
hosts.allow and hosts.deny simply limit hosts connecting to the machine, not which domains sendmail can send to.
I got webmin up on said sendmail box; any ideas on how to accomplish what I need done? |
i am not geeting your question..as per my concerned what i have done in my organistion recently it will like be this [(hostname or ip) (name.domain.com)] or domainname: ALL EXCEPT .domain
|
abhijeetdutta, what I'm trying to accomplish is setting the sendmail service to only be able to send mail to 2 domains. Not any other domains.
|
This might help you
|
jiml8, I did try that and it had the affect of keeping me fro msending any mail at all.
Surprised no one else has ran into this before. |
sorry i have not got your question earlier...just make it change in named.conf file where you want to relay your services...
there you can can change allow query too your internal domain only |
I'm not running BIND (not my network), will editing named.conf still work or do I have to go through setting up a BIND server?
|
Bumping this in hopes of someone shedding some light on the subject.
|
Is there a way of doing this with iptables?
|
Quote:
|
All times are GMT -5. The time now is 01:00 PM. |