Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

infra.mail

9 options

infra.mail.protonmailBridge

infra.mail.protonmailBridge.enable

Whether to enable headless Proton Mail Bridge (IMAP/SMTP gateway to a Proton account).

Type: boolean

Default:

false

Example:

true

Declared by: nix/modules/infra/mail/protonmail-bridge


infra.mail.protonmailBridge.imap.bridgePort

Loopback port the bridge itself serves IMAP on. See smtp.bridgePort.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default:

1143

Declared by: nix/modules/infra/mail/protonmail-bridge


infra.mail.protonmailBridge.imap.enable

Expose IMAP as well as SMTP. Turn it off for a send-only relay — an Infisical or alerting host has no mailbox to read.

Type: boolean

Default:

true

Declared by: nix/modules/infra/mail/protonmail-bridge


infra.mail.protonmailBridge.imap.port

Port the IMAP proxy listens on.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default:

143

Declared by: nix/modules/infra/mail/protonmail-bridge


infra.mail.protonmailBridge.listenAddress

Address the socket proxies bind. The bridge itself always listens on 127.0.0.1 and cannot be told otherwise, so this is the only place the exposure is decided. Set it to 127.0.0.1 to keep the bridge host-local; the default serves the fleet, which is the point of running it on its own host.

Type: string

Default:

"0.0.0.0"

Example:

"10.0.0.5"

Declared by: nix/modules/infra/mail/protonmail-bridge


infra.mail.protonmailBridge.logLevel

Bridge log level. Null leaves the bridge’s own default.

Type: null or one of "panic", "fatal", "error", "warn", "info", "debug"

Default:

null

Declared by: nix/modules/infra/mail/protonmail-bridge


infra.mail.protonmailBridge.package

Proton Mail Bridge package. The headless build, not the Qt GUI one.

Type: package

Default:

pkgs.protonmail-bridge

Declared by: nix/modules/infra/mail/protonmail-bridge


infra.mail.protonmailBridge.smtp.bridgePort

Loopback port the bridge itself serves SMTP on. Change this only to match a bridge whose own setting was moved; it is the proxy’s upstream, not a listener this module creates.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default:

1025

Declared by: nix/modules/infra/mail/protonmail-bridge


infra.mail.protonmailBridge.smtp.port

Port the SMTP proxy listens on, for clients and services.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default:

587

Declared by: nix/modules/infra/mail/protonmail-bridge