Re: [Mimedefang] Still outbound messages are getting blocked by s pamassassin

2004-07-21 Thread Nels Lindquist
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

Re: [Mimedefang] Still outbound messages are getting blocked by s pamassassin

2004-07-09 Thread alan premselaar
[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"

RE: [Mimedefang] Still outbound messages are getting blocked by s pamassassin

2004-07-09 Thread Matthew . van . Eerde
> 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

RE: [Mimedefang] Still outbound messages are getting blocked by s pamassassin

2004-07-09 Thread Jim McCullars
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

RE: [Mimedefang] Still outbound messages are getting blocked by s pamassassin

2004-07-09 Thread Vivek Kumar
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

RE: [Mimedefang] Still outbound messages are getting blocked by s pamassassin

2004-07-09 Thread Matthew . van . Eerde
> 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