Matches mails that are sent by an SMTP authenticated user.
If the sender was not authenticated it will not match.
<mailet match="SMTPAuthSuccessful" class="<any-class>">
String authUser = (String) mail.getAttribute(SMTP_AUTH_USER_ATTRIBUTE_NAME); if (authUser != null) { return mail.getRecipients(); } else { return null; }