class RecipientIsLocal extends GenericMatcher {

    @Override
    public Collection<MailAddress> match(Mail mail) throws MessagingException {
        return getMailetContext().localRecipients(mail.getRecipients());
    }

}