wk2: account management tooling
This commit is contained in:
parent
37eeeb2467
commit
f864d9c84e
34 changed files with 379 additions and 350 deletions
16
target/postfix/main.cf
Normal file
16
target/postfix/main.cf
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue