[
http://issues.apache.org/jira/browse/JAMES-528?page=comments#action_12415823 ]
Vincenzo Gianferrari Pini commented on JAMES-528:
-
The difference between the existing matchers like SenderIsLocal or
SenderIsRegex and the new IsInWhiteList matcher consists in the fact that the
latter is not static (list hardcoded in config.xml) but dynamic (list
stored in a database), personal (per local sender) and optionally grows
automatically. The mailet that manages the list in the database is
WhiteListManager.
The following (that can be found both in javadoc and in config.xml) should
explain more:
!-- Whitelist Management --
!-- Manages for each local user a white list of remote addresses
whose messages --
!-- should never be blocked as spam. --
!-- --
!-- If automaticInsert is true, it will check, for a local sender,
if a remote recipient --
!-- is already in the list: if not, it will be automatically
inserted. --
!-- This is under the interpretation that if a local sender X sends a
message to a --
!-- remote recipient Y, then later on if a message is sent by Y to X
it should be --
!-- considered always valid and never blocked; hence Y should be in
the white list --
!-- of X. --
!-- --
!-- Another mode of operations is when a local sender sends a message
to whitelistManagerAddress --
!-- with one of three specific values in the subject, to --
!-- (i) send back a message displaying a list of the addresses in his
own list (displayFlag); --
!-- (ii) insert some new addresses in his own list (insertFlag); --
!-- (iii) remove some addresses from his own list (removeFlag). --
!-- In all of the three above cases the message will be ghosted and
the postmaster will reply --
!-- to the sender. --
!-- --
!-- The sender name is always converted to its primary name (handling
aliases). --
!--
mailet match=SMTPAuthSuccessful class=WhiteListManager
onMailetException=ignore
repositoryPathdb://maildb/repositoryPath
automaticInserttrue/automaticInsert
whitelistManagerAddress[EMAIL PROTECTED]/whitelistManagerAddress
displayFlagdisplay/displayFlag
insertFlaginsert/insertFlag
removeFlagremove/removeFlag
/mailet
--
Add whitelist support
-
Key: JAMES-528
URL: http://issues.apache.org/jira/browse/JAMES-528
Project: James
Type: New Feature
Components: Matchers/Mailets (bundled)
Versions: 2.3.0b1
Reporter: Vincenzo Gianferrari Pini
Assignee: Vincenzo Gianferrari Pini
Priority: Minor
Fix For: 2.3.0b1
Add matcher/mailets providing whitelist support, to reduce false positives in
anti-spam detection.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]