email-connect/config/harness-imap.yml

47 lines
1.1 KiB
YAML
Raw Normal View History

# Scanner profile for the local GreenMail test harness (EMAIL-WP-0005-T02).
#
# Start the harness first:
# docker compose -f tests/harness/docker-compose.yml up -d
#
# The harness runs with authentication disabled and creates a mailbox on first
# login, so these credentials are placeholders that only need to be set:
# export EMAIL_CONNECT_IMAP_USER=t01@harness.email-connect.test
# export EMAIL_CONNECT_IMAP_PASSWORD=harness
#
# Then:
# email-connect scan-mailbox --config config/harness-imap.yml --out reports/
mailbox:
id: harness-mailbox
protocol: imap
host: 127.0.0.1
port: 3143
tls: false
username_env: EMAIL_CONNECT_IMAP_USER
password_env: EMAIL_CONNECT_IMAP_PASSWORD
folder: INBOX
scan:
mode: incremental
max_messages_per_run: 5000
since: null
from: null
to: null
include_seen: true
mark_seen: false
store_raw_headers: true
store_raw_body: false
store_raw_message_ref: true
expected_recipients:
path: null
csv_column: email
storage:
path: .email-connect/harness-state.sqlite
reports:
output_dir: reports
include_all_evidence: true
include_unknown_messages: true
timestamp_timezone: UTC