Well no one has got back to me on this one but after a bit more digging around I have found the answer. If anyone else has the same issue here is the code to use;
@spam_quarantine_to_maps = ( # per-recip multiple quarantines
new_RE(
[qr"^(.*)\@domain1\.com$"i => "spam\@domain1.com"],
[qr"^(.*)\@domain2\.com$"i => "spam\@domain2.com"],
[qr"^(.*)\@domain3\.com$"i => "spam\@domain3.com"] ),
$spam_quarantine_to, # the usual default
);
I hope this helps someone else.
And thanks to gary V on sourceforge.net for the answer, he doesn't know it yet but he saved he a lot of time and effort.
(
http://sourceforge.net/mailarchive/m...sg_id=12062482)
Cheers