Skip to content

Postfixadmin

services.postfixadmin.adminEmail

Defines the Site Admin's email address. This will be used to send emails from to create mailboxes and from Send Email / Broadcast message pages.

Type: string

Example

"postmaster@example.com"

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

services.postfixadmin.database.dbname

Name of the postgresql database Type: string

Default

"postfixadmin"

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

services.postfixadmin.database.host

Host of the postgresql server. If this is not set to localhost, you have to create the postgresql user and database yourself, with appropriate permissions.

Type: string

Default

"localhost"

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

services.postfixadmin.database.passwordFile

Password file for the postgresql connection. Must be readable by user nginx. Type: path

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

services.postfixadmin.database.username

Username for the postgresql connection. If database.host is set to localhost, a unix user and group of the same name will be created as well.

Type: string

Default

"postfixadmin"

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

services.postfixadmin.enable

Whether to enable postfixadmin.

Also enables nginx virtual host management. Further nginx configuration can be done by adapting services.nginx.virtualHosts.<name>. See for further information.

Type: boolean

Default

false

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

services.postfixadmin.extraConfig

Extra configuration for the postfixadmin instance, see postfixadmin's config.inc.php for available options. Type: strings concatenated with "\n"

Default

""

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

services.postfixadmin.hostName

Hostname to use for the nginx vhost Type: string

Example

"postfixadmin.example.com"

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

services.postfixadmin.setupPasswordFile

Password file for the admin. Generate with php -r "echo password_hash('some password here', PASSWORD_DEFAULT);"

Type: path

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