Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. postconf -e 'myhostname = 'linux.bosman.lan’
  2. postconf -e 'mydestination = localhost, localhost.localdomain'
  3. postconf -e 'mynetworks = 127.0.0.0/8'
  4. postconf -e 'inet_interfaces = all'
  5. postconf -e 'message_size_limit = 30720000'
  6. postconf -e 'virtual_alias_domains ='
  7. postconf -e 'virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf'
  8. postconf -e 'virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf'
  9. postconf -e 'virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf'
  10. postconf -e 'virtual_mailbox_base = /home/vmail'
  11. postconf -e 'virtual_uid_maps = static:5000'
  12. postconf -e 'virtual_gid_maps = static:5000'
  13. postconf -e 'smtpd_sasl_type = dovecot'
  14. postconf -e 'smtpd_sasl_path = private/auth'
  15. postconf -e 'smtpd_sasl_auth_enable = yes'
  16. postconf -e 'broken_sasl_auth_clients = yes'
  17. postconf -e 'smtpd_sasl_authenticated_header = yes'
  18. postconf -e 'smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination'
  19. postconf -e 'smtpd_use_tls = yes'
  20. postconf -e 'smtpd_tls_cert_file = /etc/pki/dovecot/certs/dovecot.pem'
  21. postconf -e 'smtpd_tls_key_file = /etc/pki/dovecot/private/dovecot.pem'
  22. postconf -e 'virtual_create_maildirsize = yes'
  23. postconf -e 'virtual_maildir_extended = yes'
  24. postconf -e 'proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps'
  25. postconf -e 'virtual_transport = dovecot'
  26. postconf -e 'dovecot_destination_recipient_limit = 1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement