2020-07-10 00:58:55 +02:00
|
|
|
---
|
|
|
|
postfix:
|
|
|
|
enabled: true
|
|
|
|
base_dir: '/etc/postfix'
|
2020-07-19 14:13:51 +02:00
|
|
|
pkgs:
|
|
|
|
- postfix
|
2022-12-03 00:05:37 +01:00
|
|
|
db:
|
2020-07-10 00:58:55 +02:00
|
|
|
config:
|
|
|
|
main:
|
|
|
|
alias_database: 'hash:/etc/aliases'
|
|
|
|
alias_maps: 'hash:/etc/aliases'
|
|
|
|
append_dot_mydomain: 'no'
|
|
|
|
biff: 'no'
|
2021-02-04 01:06:58 +01:00
|
|
|
compatibility_level: 2
|
2020-07-10 00:58:55 +02:00
|
|
|
enable_original_recipient: 'yes'
|
|
|
|
inet_interfaces: 'all'
|
|
|
|
inet_protocols: 'all'
|
|
|
|
mailbox_size_limit: '0'
|
|
|
|
message_size_limit: '30480000'
|
|
|
|
mydestination:
|
|
|
|
- '$myhostname'
|
|
|
|
- 'localhost.$mydomain'
|
|
|
|
- 'localhost'
|
|
|
|
mydomain: 'example.com'
|
|
|
|
myhostname: 'mx.example.com'
|
2021-09-25 16:09:46 +02:00
|
|
|
mynetworks:
|
|
|
|
- '127.0.0.1'
|
2020-07-10 00:58:55 +02:00
|
|
|
myorigin: '$mydomain'
|
|
|
|
non_smtpd_milters: '$smtpd_milters'
|
|
|
|
readme_directory: 'no'
|
|
|
|
recipient_delimiter: '+'
|
|
|
|
relay_domains: 'example.com'
|
|
|
|
smtp_connect_timeout: '2m'
|
|
|
|
smtpd_banner: 'Example SMTP Server'
|
|
|
|
smtpd_helo_required: 'yes'
|
|
|
|
smtpd_relay_restrictions:
|
|
|
|
- 'permit_mynetworks'
|
|
|
|
- 'defer_unauth_destination'
|
|
|
|
- 'permit'
|
|
|
|
smtpd_sender_restrictions:
|
|
|
|
- 'permit_mynetworks'
|
|
|
|
- 'check_sender_access hash:/etc/postfix/sender_access'
|
|
|
|
- 'permit'
|
|
|
|
smtputf8_enable: 'yes'
|
|
|
|
soft_bounce: 'yes'
|
|
|
|
transport_maps: 'hash:/etc/postfix/transport'
|
|
|
|
unknown_local_recipient_reject_code: 550
|
|
|
|
master: {}
|
|
|
|
sender_access: {}
|
2020-07-19 14:18:16 +02:00
|
|
|
transport: {}
|
2021-10-30 18:38:59 +02:00
|
|
|
pgsql: {}
|