It sounds as if you want to do exactly what I wanted to do - bounce
(or otherwise hold) messages with more than <n> receipients?
The only way I found to do it (and I haven't finished it yet due to
pressures of Real Life(tm)) was to use a regexp match. (NOTE:
The regexp below is *not* correct... ([^@]+@){6,}) was
suggested by Philip Hazel.)
=============
if error_message then finish endif
if ${sg{$header_to:,$header_cc:}{\n}{}} matches "(*@*){6,}" then
seen mail
from "postmaster@???"
bcc "postmaster@???"
subject "Bounced message"
text "Some of our addresses do not accept messages with
more than 5 recepients."
save $home/bounced_messages
endif
=============
Hope that saves you some time
Carl
--
Carl C. Inglis - uther@???
"..as to who I am now, if you're prompted to ask: I'm the ghost of my
future and the sum of my past." - Talis Kimberly, Small Mended
Corners, Archetype Cafe