IMAP_HOST=mail.myserver.de IMAP_PORT=993 IMAP_USER=mail@myserver.de IMAP_PASSWORD=abcd1234 SMTP_HOST=mail.myserver.de SMTP_PORT=465 SMTP_USER=mail@myserver.de SMTP_PASSWORD=abcd1234 FORWARD_TO=mytarget@somedomain.de FORWARD_FROM=mail@myserver.de ALLOWED_SENDER_DOMAINS=example.com,trusted-domain.org POLL_INTERVAL_MS=60000 # Optional: webhook notifications for forwarded mails and errors #WEBHOOK_URL=https://example.com/hooks/mail-forwarder #WEBHOOK_SECRET=change-me #WEBHOOK_TIMEOUT_MS=10000 # Optional: only forward mails with attachments (default: true) #REQUIRE_ATTACHMENT=true # Optional: webhook for accepted mails skipped because they have no attachment #NO_ATTACHMENT_WEBHOOK_URL=https://example.com/hooks/mail-without-attachment #NO_ATTACHMENT_WEBHOOK_SECRET=change-me