On 10 Jul 2004 at 13:13, alan premselaar wrote:
> I use a subroutine that allows me to be creative and/or easily expand my
> list of machines/networks that can send email unfiltered. The code had
> been posted to the list awhile back so i'm not going to take credit for
> writing it. I obviously
[EMAIL PROTECTED] wrote:
From: Jim McCullars [mailto:[EMAIL PROTECTED]
On Fri, 9 Jul 2004, Vivek Kumar wrote:
Hi Matthew,
I tried both the following syntax you suggested but I got
compliation
error.
How about just:
if ($hostip =~ /^191\.0\.(?:0|1)/) {
return("ACCEPT_AND_NO_MORE_FILTERING"
> From: Jim McCullars [mailto:[EMAIL PROTECTED]
> On Fri, 9 Jul 2004, Vivek Kumar wrote:
>
> > Hi Matthew,
> >
> > I tried both the following syntax you suggested but I got
> compliation
> > error.
>
>How about just:
>
>if ($hostip =~ /^191\.0\.(?:0|1)/) {
> return("ACCEPT_AND_NO_MO
On Fri, 9 Jul 2004, Vivek Kumar wrote:
> Hi Matthew,
>
> I tried both the following syntax you suggested but I got compliation
> error.
How about just:
if ($hostip =~ /^191\.0\.(?:0|1)/) {
return("ACCEPT_AND_NO_MORE_FILTERING","OK")
}
HTH...
Jim McCullars
University of Alabam
Hi Matthew,
I tried both the following syntax you suggested but I got compliation
error.
$mailip eq $internal_net1 or $mailip eq $internal_net2
or
($mailip eq $internal_net1) || ($mailip eq $internal_net2)
Thanks
Vivek
On Fri, 2004-07-09 at 11:21, [EMAIL PROTECTED] wrote:
> > From: Vivek Kuma
> From: Vivek Kumar [mailto:[EMAIL PROTECTED]
> my $internal_net1 = "191.0.0";
> my $internal_net2 = "191.0.1";
> $hostip=~ /^(\d+\.\d+\.\d+)./ ;
> my $mailip = $1;
> if($mailip eq $internal_net1 || $mailip eq $internal_net2) {
This won't do what you want. || binds more tightly than eq
6 matches
Mail list logo