org.nhind.james.matcher
Class RecipientIsLocalAndSMTPAuthUserIs

java.lang.Object
  extended by org.apache.mailet.base.GenericMatcher
      extended by org.nhind.james.matcher.RecipientIsLocalAndSMTPAuthUserIs
All Implemented Interfaces:
Matcher, MatcherConfig

public class RecipientIsLocalAndSMTPAuthUserIs
extends GenericMatcher

Matcher for local recipients when the auth user matches a given user.

Author:
beau

Constructor Summary
RecipientIsLocalAndSMTPAuthUserIs()
           
 
Method Summary
 void init()
          
 Collection<MailAddress> match(Mail mail)
          
 
Methods inherited from class org.apache.mailet.base.GenericMatcher
destroy, getCondition, getMailetContext, getMatcherConfig, getMatcherInfo, getMatcherName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecipientIsLocalAndSMTPAuthUserIs

public RecipientIsLocalAndSMTPAuthUserIs()
Method Detail

init

public void init()
          throws javax.mail.MessagingException

Overrides:
init in class GenericMatcher
Throws:
javax.mail.MessagingException

match

public Collection<MailAddress> match(Mail mail)
                              throws javax.mail.MessagingException

Specified by:
match in interface Matcher
Specified by:
match in class GenericMatcher
Throws:
javax.mail.MessagingException


Copyright © 2012. All Rights Reserved.