ia_dev/gitea-issues/imap-bridge.env.example
Nicolas Cantu 61cec6f430 Sync ia_dev: token resolution via .secrets/<env>/ia_token, doc updates
**Motivations:**
- Align master with current codebase (token from projects/<id>/.secrets/<env>/ia_token)
- Id resolution by mail To or by API token; no slug

**Root causes:**
- Token moved from conf.json to .secrets/<env>/ia_token; env from directory name

**Correctifs:**
- Server and scripts resolve project+env by scanning all projects and envs

**Evolutions:**
- tickets-fetch-inbox routes by To address; notary-ai agents and API doc updated

**Pages affectées:**
- ai_working_help/server.js, docs, project_config.py, lib/project_config.sh
- projects/README.md, lecoffreio/docs/API.md, gitea-issues/tickets-fetch-inbox.py
2026-03-16 15:00:23 +01:00

44 lines
1.4 KiB
Plaintext

# IMAP config for mail-to-issue (e.g. Proton Mail Bridge).
# Copy to .secrets/gitea-issues/imap-bridge.env and set real values.
# Do not commit .secrets/gitea-issues/imap-bridge.env (directory is gitignored).
#
# IMAP (read)
# IMAP_HOST=127.0.0.1
# IMAP_PORT=1143
# IMAP_USER=your-address@pm.me
# IMAP_PASSWORD=your-bridge-password
# IMAP_USE_STARTTLS=true
# For local Proton Bridge with self-signed cert, set to false to skip SSL verification (localhost only).
# IMAP_SSL_VERIFY=false
#
# SMTP (send replies; same Bridge account)
# SMTP_HOST=127.0.0.1
# SMTP_PORT=1025
# SMTP_USER=your-address@pm.me
# SMTP_PASSWORD=your-bridge-password
# SMTP_USE_STARTTLS=true
#
# Restrict listed mails to those sent to this address (default: ai.support.lecoffreio@4nkweb.com)
# MAIL_FILTER_TO=ai.support.lecoffreio@4nkweb.com
#
# Only fetch/list mails on or after this date (IMAP format DD-Mon-YYYY). Default: 10-Mar-2026.
# MAIL_SINCE_DATE=10-Mar-2026
#
# Signature appended to every reply (default: Support IA du projet Lecoffre.io + ai.support.lecoffreio@4nkweb.com)
# MAIL_REPLY_SIGNATURE=--\\nSupport IA du projet Lecoffre.io\\nai.support.lecoffreio@4nkweb.com
#
# Signature for Gitea issue comments (optional; comment-issue.sh uses same default as mail signature)
# GITEA_COMMENT_SIGNATURE=
IMAP_HOST=127.0.0.1
IMAP_PORT=1143
IMAP_USER=
IMAP_PASSWORD=
IMAP_USE_STARTTLS=true
SMTP_HOST=127.0.0.1
SMTP_PORT=1025
SMTP_USER=
SMTP_PASSWORD=
SMTP_USE_STARTTLS=true