Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- postconf -e 'myhostname = server.yourdomain.com'
- postconf -e 'mydestination = server.yourdomain.com, localhost, localhost.localdomain'
- postconf -e 'mynetworks = 127.0.0.0/8'
- postconf -e 'message_size_limit = 30720000'
- postconf -e 'virtual_alias_domains ='
- postconf -e 'virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf,
- mysql:/etc/postfix/mysql-virtual_email2email.cf'
- postconf -e 'virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf'
- postconf -e 'virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf'
- postconf -e 'virtual_mailbox_base = /home/vmail'
- postconf -e 'virtual_uid_maps = static:5000'
- postconf -e 'virtual_gid_maps = static:5000'
- postconf -e 'smtpd_sasl_auth_enable = yes'
- postconf -e 'broken_sasl_auth_clients = yes'
- postconf -e 'smtpd_sasl_authenticated_header = yes'
- postconf -e 'smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
- reject_unauth_destination'
- postconf -e 'smtpd_use_tls = yes'
- postconf -e 'smtpd_tls_cert_file = /etc/postfix/smtpd.cert'
- postconf -e 'smtpd_tls_key_file = /etc/postfix/smtpd.key'
- postconf -e 'virtual_create_maildirsize = yes'
- postconf -e 'virtual_maildir_extended = yes'
- 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'
- postconf -e virtual_transport=dovecot
- postconf -e dovecot_destination_recipient_limit=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement