public class SieveMailet
extends org.apache.jsieve.mailet.SieveMailboxMailet
implements org.apache.jsieve.mailet.Poster
Constructor and Description |
---|
SieveMailet() |
Modifier and Type | Method and Description |
---|---|
protected String |
getUsername(org.apache.mailet.MailAddress m)
Return the username to use for sieve processing for the given
MailAddress.
|
void |
init(org.apache.mailet.MailetConfig config) |
void |
post(String url,
javax.mail.internet.MimeMessage mail) |
void |
setFileSystem(FileSystem fileSystem) |
void |
setFolder(String folder) |
void |
setMailboxManager(org.apache.james.mailbox.MailboxManager mailboxManager) |
void |
setUsersRepository(UsersRepository usersRepos) |
void |
storeMail(org.apache.mailet.MailAddress sender,
org.apache.mailet.MailAddress recipient,
org.apache.mailet.Mail mail) |
getLocator, getMailetInfo, getPoster, getScriptUri, handleFailure, init, isConsume, isInfoLoggingOn, isQuiet, isVerbose, service, setConsume, setLocator, setPoster, setQuiet, setVerbose, sieveMessage, storeMessageInbox
public void setUsersRepository(UsersRepository usersRepos)
public void setMailboxManager(org.apache.james.mailbox.MailboxManager mailboxManager)
public void setFileSystem(FileSystem fileSystem)
public void setFolder(String folder)
public void init(org.apache.mailet.MailetConfig config) throws javax.mail.MessagingException
init
in interface org.apache.mailet.Mailet
init
in class org.apache.jsieve.mailet.SieveMailboxMailet
javax.mail.MessagingException
protected String getUsername(org.apache.mailet.MailAddress m)
getUsername
in class org.apache.jsieve.mailet.SieveMailboxMailet
m
- public void storeMail(org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress recipient, org.apache.mailet.Mail mail) throws javax.mail.MessagingException
storeMail
in class org.apache.jsieve.mailet.SieveMailboxMailet
javax.mail.MessagingException
public void post(String url, javax.mail.internet.MimeMessage mail) throws javax.mail.MessagingException
post
in interface org.apache.jsieve.mailet.Poster
javax.mail.MessagingException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.