Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # See /usr/share/postfix/main.cf.dist for a commented, more complete version
- smtpd_banner = $myhostname ESMTP
- biff = no
- # appending .domain is the MUA's job.
- append_dot_mydomain = no
- # Uncomment the next line to generate "delayed mail" warnings
- #delay_warning_time = 4h
- alias_maps = mysql:/etc/postfix/myalias.cf hash:/etc/aliases
- alias_database = hash:/etc/aliases
- mydestination = alternc.local, $myhostname, localhost.$mydomain, localhost
- relayhost =
- inet_interfaces = all
- recipient_delimiter = +
- #
- mynetworks = 127.0.0.1 hash:/var/lib/pop-before-smtp/hosts 192.168.0.12
- #
- home_mailbox = Maildir/
- header_checks = regexp:/etc/postfix/header_checks
- body_checks = regexp:/etc/postfix/body_checks
- local_destination_concurrency_limit = 8
- default_destination_concurrency_limit = 10
- smtpd_use_tls = yes
- smtpd_tls_dcert_file = /etc/courier/pop3d.pem
- smtpd_tls_dkey_file = $smtpd_tls_dcert_file
- smtpd_tls_CApath = /etc/ssl/certs/
- smtpd_tls_key_file = $smtpd_tls_dcert_file
- smtpd_tls_cert_file = $smtpd_tls_dcert_file
- smtpd_tls_loglevel = 0
- smtpd_tls_received_header = yes
- smtpd_tls_session_cache_timeout = 3600s
- smtp_use_tls = yes
- smtp_tls_dcert_file = $smtpd_tls_dcert_file
- smtp_tls_dkey_file = $smtpd_tls_dcert_file
- smtp_tls_CApath = $smtpd_tls_CApath
- smtpd_tls_auth_only = yes
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_local_domain = postfix
- smtpd_sasl_security_options = noanonymous
- enable_sasl_authentification = yes
- broken_sasl_auth_clients = yes
- virtual_maps = proxy:mysql:/etc/postfix/mydomain.cf
- virtual_mailbox_maps = proxy:mysql:/etc/postfix/myvirtual.cf
- virtual_mailbox_base = /
- virtual_minimum_uid = 1000
- virtual_gid_maps = proxy:mysql:/etc/postfix/mygid.cf
- virtual_uid_maps = static:33
- default_privs = www-data
- smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_rbl_client zen.spamhaus.org, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_unlisted_recipient, reject_unauth_destination
- myorigin = /etc/mailname
- mailbox_command = procmail -a "$EXTENSION"
- mailbox_size_limit = 0
- inet_protocols = ipv4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement