|
|
<- Previous Message | Next Message -> Thread Index
sendmail enable relaying for specific ip addresses
-----Original Message-----
From: Joe Morlino [mailto:joe@...Sent: Thursday, May 24, 2001 5:17 PM
To: isp-unix@isp-unix.com
Subject: RE: sendmail enable relaying for specific ip addresses
In sendmail 8.11 we create a file /etc/mail/access
this contains the list of allowed addresses to RELAY
the format allows for specific ip's, host.domain.tld, or ip blocks each on
a line by itself followed by RELAY.
For example:
-TOF-
216.105.xxx RELAY
216.105.yyy.zzz RELAY
host.domain.tld RELAY
-EOF-
Any address in the 216.105.xxx block can RELAY, so can the specific address
216.105.yyy.zzz in the 216.105.yyy block.
The machine host.domain.tld is also allowed.
In sendmail.cf you need to enable the Kaccess option and point it to the
file like this
Kaccess dbm -o /etc/mail/access
in sendmail.cf
Make the dbm .pag and .dir files via
/usr/sbin/makemap dbm access < access
or the equivalent on your system.
Change the .cf, create the access file, make the dbm access.dir & access.pag
files, and then restart sendmail.
Hope this helps.
Regards,
Joe Morlino
EDI Technologies
joe@...
-----Original Message-----
From: Kevin D [mailto:kdlists@...Sent: Thursday, May 24, 2001 3:55 PM
To: isp-unix@isp-unix.com
Subject: sendmail deny relaying for specified ip address
Of course, my sendmail is configured to deny relaying by default. However, I
want to enable relaying for an entire class C network (192.168.168), and at
the same time disable relaying for just one IP address on that network
(192.168.168.6).
How do I do it, aside from entering every single IP address except the one I
want to block into the relaying file?
Thanks,
Kevin
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Today on ISP-Planet
Hot business, marketing & tech tips for the ISP community
http://www.isp-planet.com/
<- Previous Message | Next Message -> Thread Index
|
|