Skip to content

Opensmtpd

services.opensmtpd.enable

Whether to enable the OpenSMTPD server. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/mail/opensmtpd.nix

services.opensmtpd.extraServerArgs

Extra command line arguments provided when the smtpd process is started.

Type: list of string

Default

[ ]

Example

["-v""-P mta"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/mail/opensmtpd.nix

services.opensmtpd.package

The opensmtpd package to use. Type: package

Default

pkgs.opensmtpd

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/mail/opensmtpd.nix

services.opensmtpd.procPackages

Packages to search for filters, tables, queues, and schedulers.

Add OpenSMTPD-extras here if you want to use the filters, etc. from that package.

Type: list of package

Default

[ ]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/mail/opensmtpd.nix

services.opensmtpd.serverConfiguration

The contents of the smtpd.conf configuration file. See the OpenSMTPD documentation for syntax information.

Type: strings concatenated with "\n"

Example

'' listen on lo accept for any deliver to lmtp localhost:24''

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/mail/opensmtpd.nix

services.opensmtpd.setSendmail

Whether to set the system sendmail to OpenSMTPD's. Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/mail/opensmtpd.nix