Afficher un message
Vieux 28/09/2006, 22h28   #3
Alex Moen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: /etc/mail/access IP entries


"Dale Dellutri" <ddelQQQlutr@panQQQix.com> wrote in message
news:efhcur$mm0$1@reader1.panix.com...
> 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)


OK, that's what I thought... I saw the FAQ on CIDR, but I was hoping that
Sendmail had been updated to allow this... 1 or 2 /24's are no problem, but
when you want to block multiple /8's it does become quite daunting. Guess
I'll have to find a better way to do this than the built-in Sendmail stuff.

Thanks!

Alex


  Réponse avec citation
 
Page generated in 0,05838 seconds with 9 queries