[Mimedefang] many recipients

Kevin A. McGrail kmcgrail at pccc.com
Wed Sep 1 14:45:38 EDT 2004


Try if (scalar(@Recipients) > 5) which I believe will work in all cases or
(($#Recipients + 1) > 5) which I know will work

KAM

> # Why doesn't work this "if"
> if ($RelayAddr ne "192.198.100.10"){
>        #  reject email with too many recipients
>          if (@Recipients > 5) {
>            return action_bounce("Too many recipients, message refused")
>          }
>        }
> }



More information about the MIMEDefang mailing list