|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ericdaugherty.mail.server.services.general.DeliveryService
public class DeliveryService
Handles the evalution of general mail delivery rules, including SMTP Relaying.
Field Summary |
---|
Constructor Summary | |
---|---|
protected |
DeliveryService()
Load the parameters from the Mail configuration. |
Method Summary | |
---|---|
boolean |
acceptAddress(EmailAddress address,
java.lang.String clientIp,
EmailAddress clientFromAddress)
Checks an address to see if we should accept it for delivery. |
static DeliveryService |
getDeliveryService()
Accessor for the singleton instance for this class. |
void |
ipAuthenticated(java.lang.String clientIp)
This method should be called whenever a client authenticates themselves. |
boolean |
isLocalAddress(EmailAddress address)
Determines if the domain for the specified email address is hosted locally in this mail server. |
boolean |
isMailboxLocked(EmailAddress address)
Checks to see if a user currently has the specified mailbox locked. |
void |
lockMailbox(EmailAddress address)
This method locks a mailbox so that two clients can not access the same mailbox at the same time. |
void |
unlockMailbox(EmailAddress address)
Unlocks an mailbox. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DeliveryService()
Method Detail |
---|
public static DeliveryService getDeliveryService()
public boolean isLocalAddress(EmailAddress address)
public boolean acceptAddress(EmailAddress address, java.lang.String clientIp, EmailAddress clientFromAddress)
public void ipAuthenticated(java.lang.String clientIp)
public void lockMailbox(EmailAddress address)
public boolean isMailboxLocked(EmailAddress address)
public void unlockMailbox(EmailAddress address)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |