---
name: "cdist-type__postfix_postconf"
section: "7"
platform: "linux"
package: "cdist"
version: "7.0.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cdist-type__postfix_postconf"
---

# cdist-type\_\_postfix\_postconf(7)

Configure postfix main.cf

## NAME

cdist-type\_\_postfix\_postconf - Configure postfix main.cf

## DESCRIPTION

See [postconf(5)](/postconf/5.md) for possible keys and values.

Note that this type directly runs the postconf executable. It does not make changes to /etc/postfix/main.cf itself.

## REQUIRED PARAMETERS

- **value**

  the value for the postfix parameter

## OPTIONAL PARAMETERS

- **key**

  the name of the parameter. Defaults to \_\_object\_id

## EXAMPLES

```
__postfix_postconf mydomain --value somedomain.com
__postfix_postconf bind-to-special-ip --key smtp_bind_address --value 127.0.0.5
```

## SEE ALSO

[**postconf**(5)](/postconf/5.md)

## AUTHORS

Steven Armstrong \<*steven-cdist--@--armstrong.cc*\>

## COPYING

Copyright (C) 2012 Steven Armstrong. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

## COPYRIGHT

ungleich GmbH 2021
