Package mireka.filter.local
Class AcceptAllRecipient
- Object
-
- mireka.filter.StatelessFilterType
-
- mireka.filter.local.AcceptAllRecipient
-
- All Implemented Interfaces:
DataRecipientFilter,FilterBase,FilterType
public class AcceptAllRecipient extends StatelessFilterType
-
-
Constructor Summary
Constructors Constructor Description AcceptAllRecipient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilterReplyverifyRecipient(RecipientContext recipientContext)Decides if a recipient should be accepted.-
Methods inherited from class mireka.filter.StatelessFilterType
begin, createInstance, data, dataRecipient, done, from, recipient
-
-
-
-
Method Detail
-
verifyRecipient
public FilterReply verifyRecipient(RecipientContext recipientContext) throws org.subethamail.smtp.RejectException
Description copied from interface:FilterBaseDecides if a recipient should be accepted. The decision can be a final positive, a final negative, or a neutral answer. This function is not called if a previous filter has already accepted or rejected the recipient. In case of a neutral answer, other filters will decide. If all filters return the neutral answer, then the recipient will be accepted if a destination is assigned to it and the assigned destination is not anUnknownRecipientDestination; otherwise it will be rejected as an unknown user.- Specified by:
verifyRecipientin interfaceFilterBase- Overrides:
verifyRecipientin classStatelessFilterType- Throws:
org.subethamail.smtp.RejectException- if the recipient is not valid and it must be rejected
-
-