# We only listen on these addresses.  Or actually, we only do a few
# special tricks to switch the user and give him more priviliges when
# the request comes from one of these addresses.  Make this an empty
# list or tuple if you do not want those special tricks at all.
LISTEN_ADDRESSES = ('127.0.0.1', )

# Should we fake a TrackerManager/Manager role to be sure that a post succeeds?
FAKE_MANAGER = True

# Permissions that are needed.  If a user already has ALL these permissions, we
# will not fake a manager role.
NEEDED_PERMISSIONS = [
    'Add portal content',
    'Poi: Add Issue',
    'Poi: Add Response',
    'Poi: Upload attachment',
]

# Do advanced matching on subject to find existing issue that this
# email could be a reply to?  When False we just look for '#123' in
# the Subject line.  When True we search for issues with a Title
# matching the Subject line as well.
ADVANCED_SUBJECT_MATCH = False

# Add attachments from the e-mail?  We look for binary attachments.
# These are added as separate responses, as you can only add one
# attachment per issue or response.
ADD_ATTACHMENTS = True
