Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- abort() - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
- AoservJilter - Class in com.aoindustries.aoserv.jilter
-
Runs the jilter server on the primary IP of this machine.
- AoservJilterHandler - Class in com.aoindustries.aoserv.jilter
-
What does a forwarding look like?
- AoservJilterHandler() - Constructor for class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
Creates a new
AoservJilterHandler
.
B
- body(ByteBuffer) - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
TODO: Call SpamAssassin from here TODO: Limit inbox size here TODO: Reenable body in other parts of this code to activate this method.
C
- checkFromIsLocal() - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
Makes sure the from address is a valid address on this machine.
- checkToIsLocal(String) - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
Makes sure the to address is a valid address on this machine.
- close() - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
- com.aoindustries.aoserv.jilter - module com.aoindustries.aoserv.jilter
- com.aoindustries.aoserv.jilter - package com.aoindustries.aoserv.jilter
- connect(String, InetAddress, Properties) - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
Compare to email_smtp_relays table, looking for deny or deny_spam.
D
- decrement(long, long) - Method in class com.aoindustries.aoserv.jilter.EmailCounter
-
All access to this method should be synchronized externally.
E
- EmailCounter - Class in com.aoindustries.aoserv.jilter
-
Keeps track of the number of emails for one business and direction (in, out, relay).
- EmailCounter(String, EmailLimit) - Constructor for class com.aoindustries.aoserv.jilter.EmailCounter
-
Creates a new email counter.
- enqueueNotice(Notice) - Static method in class com.aoindustries.aoserv.jilter.Notifier
-
Adds a notice to the queue.
- envfrom(String[], Properties) - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
TODO: Verify that against SPF / PTR / MX records.
- envrcpt(String[], Properties) - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
If mail going from local to esmtp, then: Don't allow empty from address If this ao_server has "restrict_outbound_email" set to true: Make sure from address is a valid address on this machine Limit as outgoing mail (use noLimitToAddresses) If mail going from local to local, then: Make sure recipient is a valid email address on this machine Do not limit the email If mail going from esmtp to esmtp, then: Make sure hostaddr is one of IP addresses of this machine OR relaying has been allowed from that IP Don't allow empty from address Make sure from address is a valid address on this machine Limit as outgoing (use noLimitToAddresses) if hostaddr is on this machine OR limit as relay if from an outside IP If mail going from esmtp to local, then: Make sure recipient is a valid email address on this machine Limit as incoming mail If mail going from auth to esmtp, then: Make sure authenticated Don't allow empty from address Make sure from address is a valid address on this machine Limit as outgoing (use noLimitToAddresses) if hostaddr is on this machine OR limit as relay if from an outside IP If mail going from auth to local, then: Make sure recipient is a valid email address on this machine Limit as incoming mail If any other pattern, then: Return failure code and description
- eoh() - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
- eom(JilterEOMActions, Properties) - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
G
- getAccounting() - Method in class com.aoindustries.aoserv.jilter.EmailCounter
- getEmailCount() - Method in class com.aoindustries.aoserv.jilter.EmailCounter
- getEmailLimit() - Method in class com.aoindustries.aoserv.jilter.EmailCounter
- getFrom() - Method in class com.aoindustries.aoserv.jilter.Notice
- getInCounter(JilterConfiguration, String) - Static method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
Gets the inbound email counter for the provided business, or
null
if its inbound email is not limited. - getLastDecrementTime() - Method in class com.aoindustries.aoserv.jilter.EmailCounter
-
All access to this method should be synchronized externally.
- getLastNotifyTime() - Method in class com.aoindustries.aoserv.jilter.EmailCounter
-
Gets the last notify time or
-1
if not yet notified. - getMessage() - Method in class com.aoindustries.aoserv.jilter.Notice
- getNoticeTimeMillis() - Method in class com.aoindustries.aoserv.jilter.Notice
- getNotifyDelayMinutes() - Method in class com.aoindustries.aoserv.jilter.EmailCounter
- getOutCounter(JilterConfiguration, String) - Static method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
Gets the outbound email counter for the provided business, or
null
if its outbound email is not limited. - getRelayCounter(JilterConfiguration, String) - Static method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
Gets the relay email counter for the provided business, or
null
if its relay email is not limited. - getRequiredModifications() - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
- getSmtpServer() - Method in class com.aoindustries.aoserv.jilter.Notice
- getSubject() - Method in class com.aoindustries.aoserv.jilter.Notice
- getSupportedProcesses() - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
- getTo() - Method in class com.aoindustries.aoserv.jilter.Notice
H
- header(String, String) - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
TODO: Strip any of the typical spamassassin headers, so that procmail will not default to deliverying if spamassassin fails and doesn't modify the headers (Prevent spam with spamassassin headers from falling through) TODO: Check for X-Loop here instead of procmail for more performance.
- helo(String, Properties) - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
This method is currently disabled by
getSupportedProcesses
and should not be called by sendmail.
I
- increment() - Method in class com.aoindustries.aoserv.jilter.EmailCounter
-
All access to this method should be synchronized externally.
- isHostAddrLocal() - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
Determines if the current hostaddr is local.
- isHostAddrRelayingAllowed() - Method in class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
Checks if relaying has been allowed from hostaddr.
M
- main(String[]) - Static method in class com.aoindustries.aoserv.jilter.AoservJilter
-
Runs the Jilter server.
N
- Notice - Class in com.aoindustries.aoserv.jilter
-
Wraps the details that will be sent via a notice.
- Notice(long, String, String, String, String, String) - Constructor for class com.aoindustries.aoserv.jilter.Notice
-
Creates a new notice.
- Notifier - Class in com.aoindustries.aoserv.jilter
-
Notifies administrators in a background thread.
- NOTIFY_ONLY_MODE - Static variable in class com.aoindustries.aoserv.jilter.AoservJilterHandler
-
When
true
, notices will be sent but emails will not be stopped.
R
- reset(long) - Method in class com.aoindustries.aoserv.jilter.EmailCounter
-
All access to this method should be synchronized externally.
- run() - Method in class com.aoindustries.aoserv.jilter.Notifier
S
- setLastNotifyTime(long) - Method in class com.aoindustries.aoserv.jilter.EmailCounter
- setNotifyDelayMinutes(int) - Method in class com.aoindustries.aoserv.jilter.EmailCounter
- start() - Static method in class com.aoindustries.aoserv.jilter.AoservJilter
-
Starts the Jilter server.
All Classes and Interfaces|All Packages|Constant Field Values