public class ProhibitRelaying extends StatelessFilterType
Constructor and Description |
---|
ProhibitRelaying() |
Modifier and Type | Method and Description |
---|---|
void |
addLocalDomainSpecification(RemotePartSpecification remotePartSpecification) |
void |
setLocalDomainSpecifications(java.util.List<RemotePartSpecification> specifications) |
FilterReply |
verifyRecipient(RecipientContext recipientContext)
Decides if a recipient should be accepted.
|
begin, createInstance, data, dataRecipient, done, from, recipient
public FilterReply verifyRecipient(RecipientContext recipientContext) throws org.subethamail.smtp.RejectException
FilterBase
UnknownRecipientDestination
; otherwise it will be rejected as an
unknown user.verifyRecipient
in interface FilterBase
verifyRecipient
in class StatelessFilterType
org.subethamail.smtp.RejectException
- if the recipient is not valid and it must be rejectedpublic void addLocalDomainSpecification(RemotePartSpecification remotePartSpecification)
public void setLocalDomainSpecifications(java.util.List<RemotePartSpecification> specifications)