Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- myhostname = marcusforsberg.net
- alias_maps = hash:/etc/aliases
- alias_database = hash:/etc/aliases
- myorigin = /etc/mailname
- mydestination = localhost
- relayhost =
- mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
- mailbox_size_limit = 0
- recipient_delimiter = +
- inet_interfaces = all
- # Change postfix TLS parameter to use dovecot
- #smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
- #smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
- smtpd_tls_cert_file=/etc/ssl/certs/dovecot.pem
- smtpd_tls_key_file=/etc/ssl/private/dovecot.pem
- smtpd_use_tls=yes
- #smtpd_tls_auth_only = yes
- #Handle SMTP authentication using Dovecot
- smtpd_sasl_type = dovecot
- smtpd_sasl_path = private/auth
- smtpd_sasl_auth_enable = yes
- smtpd_recipient_restrictions =
- permit_sasl_authenticated,
- permit_mynetworks,
- reject_unauth_destination
- # using Dovecot's LMTP for mail delivery and giving it path to store mail
- virtual_transport = lmtp:unix:private/dovecot-lmtp
- # virtual mailbox setups
- virtual_uid_maps = static:5000
- virtual_gid_maps = static:5000
- virtual_alias_maps = mysql:/etc/postfix/mysql/virtual_alias_maps.cf
- virtual_mailbox_domains = mysql:/etc/postfix/mysql/virtual_domains_maps.cf
- virtual_mailbox_maps = mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf
- inet_protocols = all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement