17 lines
737 B
CFEngine3
17 lines
737 B
CFEngine3
|
|
# https://doc.dovecot.org/2.4.2/howto/virtual/postgresql.html
|
||
|
|
transport_maps = pgsql:/etc/postfix/transport.cf
|
||
|
|
virtual_uid_maps = pgsql:/etc/postfix/uids.cf
|
||
|
|
virtual_gid_maps = pgsql:/etc/postfix/gids.cf
|
||
|
|
# Note that we've set virtual_mailbox_base to /home, which means that it's
|
||
|
|
# prefixed to all home directories in SQL database.
|
||
|
|
virtual_mailbox_base = /home
|
||
|
|
virtual_mailbox_maps = pgsql:/etc/postfix/mailboxes.cf
|
||
|
|
virtual_maps = pgsql:/etc/postfix/virtual.cf
|
||
|
|
mydestination = $mydomain, $myhostname
|
||
|
|
|
||
|
|
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
|
||
|
|
smtpd_sasl_auth_enable = yes
|
||
|
|
smtpd_sasl_security_options = noanonymous
|
||
|
|
smtpd_sasl_local_domain = domain.org
|
||
|
|
smtp_sasl_auth_enable = no
|