mc_postfix / postfix functions¶
-
mc_states.modules.mc_postfix.
settings
()¶ postfix settings
mode
- custom
- custom mode, specific explictly all your options
- relay
- satellite mode
- localdeliveryonly
- mails are only delivered locally, no email are sent on the network (default)
- catchall
- redirect all mail to this user if set if localdelivery is enabled, all mail are redirected to one user user is root, guest or nobody if catchall is False, no catchall will happen
- use_tls
- do we use tls (‘yes’)
- inet_protocols
- which protocol to enable (‘ipv4’)
- check_policy_service
- content filtering service (None)
- conf_dir
- main configuration directory (/etc) (locs[‘conf_dir’])
- mailname
- this server address to use in recipien/exp. (grains[‘fqdn’])
- cert
- ssl certificate content including all the chain of certification Will use mc_ssl based on mailname instead
- cert_key
- ssl certificate key Will use mc_ssl based on mailname instead
- inet_interfaces
- where to bind(‘all’)
- mailbox_size_limit
- size max of the mailbox(0)
- auth
- enable smtp auth
- mynetworks
- list of hosts/nets to add to mynetworks
- relay_domains
- Mapping {relaydomain: action}
- transports
- list of mappings {transport:’‘, ‘nexthop’: ‘’} default transport is ‘*’. This can be used to make a satellite
- virtual_map
- dict of key/value pair to feed the virtual table