The opposite of =~ is !~ KAM > if ($Helo =~ /relay\.digital-animations\.com && $RelayAddr !=~ /127\.0\.0\.1/) > > I'm guessing with the !=~ so please be kind :) > > Cheers > Ric