Account acct = Provisioning.getInstance().get(AccountBy.NAME, addr);
Account acct = Provisioning.getInstance().get(AccountBy.name, addr);
	public LmtpStatus getAddressStatus(LmtpAddress address) {        String addr = address.getEmailAddress();        try {		    Account acct = Provisioning.getInstance().get(AccountBy.NAME, addr);		    if (acct == null) {		    	mLog.info("rejecting address " + addr + ": no account");		    	return LmtpStatus.REJECT;		    }		    		    String acctStatus = acct.getAccountStatus();		    if (acctStatus == null) {		    	mLog.warn("rejecting address " + addr + ": no account status");		    	return LmtpStatus.REJECT;		    }            if (acctStatus.equals(Provisioning.ACCOUNT_STATUS_MAINTENANCE)) {                mLog.info("try again for address " + addr + ": account status maintenance");                return LmtpStatus.TRYAGAIN;            }            if (acctStatus.equals(Provisioning.ACCOUNT_STATUS_CLOSED)) {                mLog.info("rejecting address " + addr + ": account status closed");                return LmtpStatus.REJECT;            }            		    if (acctStatus.equals(Provisioning.ACCOUNT_STATUS_ACTIVE) ||                acctStatus.equals(Provisioning.ACCOUNT_STATUS_LOCKED))             {		        return LmtpStatus.ACCEPT;		    }		    mLog.info("rejecting address " + addr + ": unknown account status " + acctStatus);		    return LmtpStatus.REJECT;				} catch (ServiceException e) {            if (e.isReceiversFault()) {                mLog.warn("try again for address " + addr + ": exception occurred", e);                return LmtpStatus.TRYAGAIN;            } else {                mLog.warn("rejecting address " + addr + ": exception occurred", e);                return LmtpStatus.REJECT;            }		}	}