Advertisement
Guest User

Untitled

a guest
Jun 12th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. postconf -e 'myhostname = server.yourdomain.com'
  2. postconf -e 'mydestination = server.yourdomain.com, localhost, localhost.localdomain'
  3. postconf -e 'mynetworks = 127.0.0.0/8'
  4. postconf -e 'message_size_limit = 30720000'
  5. postconf -e 'virtual_alias_domains ='
  6. postconf -e 'virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf,
  7. 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_auth_enable = yes'
  14. postconf -e 'broken_sasl_auth_clients = yes'
  15. postconf -e 'smtpd_sasl_authenticated_header = yes'
  16. postconf -e 'smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
  17. reject_unauth_destination'
  18. postconf -e 'smtpd_use_tls = yes'
  19. postconf -e 'smtpd_tls_cert_file = /etc/postfix/smtpd.cert'
  20. postconf -e 'smtpd_tls_key_file = /etc/postfix/smtpd.key'
  21. postconf -e 'virtual_create_maildirsize = yes'
  22. postconf -e 'virtual_maildir_extended = yes'
  23. postconf -e 'proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps
  24. $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains
  25. $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps
  26. $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
  27. $virtual_mailbox_limit_maps'
  28. postconf -e virtual_transport=dovecot
  29. postconf -e dovecot_destination_recipient_limit=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement