Afficher un message
Vieux 28/09/2006, 21h56   #2
Dale Dellutri
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: /etc/mail/access IP entries

On Thu, 28 Sep 2006 15:35:17 -0500, Alex Moen <alexm@ndtel.com> wrote:
> Hi all,


> Just curious if the /etc/mail/access db interpreter is CIDR aware. For
> example, can I add an entry like this:


> 192.168.0.0/23 reject


> and expect Sendmail to reject any and all mail from the source addresses of
> 192.168.0.0 - 192.168.1.255?


According to:

www.sendmail.org/tips/relaying.html

(scroll to the bottom), you can use subnetting like this:

192.168.0 REJECT
192.168.1 REJECT

which isn't quite what you asked, but gives the required result.


--
Dale Dellutri <ddelQQQlutr@panQQQix.com> (lose the Q's)
  Réponse avec citation
 
Page generated in 0,05465 seconds with 9 queries