Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias_database = hash:/etc/aliases
- alias_maps = hash:/etc/aliases
- #Anti-spam
- append_dot_mydomain = no
- # appending .domain is the MUA's job.
- biff = no
- body_checks = regexp:/etc/postfix/body_checks
- broken_sasl_auth_clients = yes
- content_filter = amavis:[127.0.0.1]:10024
- # Debian specific: Specifying a file name will cause the first
- #debug_peer_level = 5
- #debug_peer_list = 58.137.22.146
- default_destination_concurrency_limit = 30
- #delay_warning_time = 4h
- disable_vrfy_command = yes
- dovecot_destination_recipient_limit = 1
- enable_original_recipient = no
- header_checks = regexp:/etc/postfix/header_checks
- home_mailbox = Maildir/
- html_directory = /usr/share/doc/postfix/html
- # information on enabling SSL in the smtp client.
- # is /etc/mailname.
- # line of that file to be used as the name. The Debian default
- mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/conf.d/01-mail-stack-delivery.conf -n -m "${EXTENSION}"
- mailbox_size_limit = 0
- maildrop_destination_concurrency_limit = 1
- maildrop_destination_recipient_limit = 1
- message_size_limit = 30000000
- mime_header_checks = regexp:/etc/postfix/mime_header_checks
- mydestination = localhost, localhost.localdomain
- myhostname = mail.rpxonline.com
- mynetworks = 127.0.0.0/8 10.85.2.0/24 115.160.161.146 10.85.211.52 10.85.211.50 10.85.200.68 10.85.200.66 10.85.2.92 10.85.2.91 10.85.2.59 10.85.12.62 10.85.11.85 10.85.11.215 10.85.1.0/24 10.85.0.0/23 10.85.200.1 10.85.200.53 62.149.27.85 62.149.27.19
- #myorigin = /etc/mailname
- myorigin = /etc/mailname
- nested_header_checks = regexp:/etc/postfix/nested_header_checks
- 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 $smtpd_sender_login_maps $smtpd_client_restrictions $smtpd_sender_restrictions proxy:mysql:/etc/postfix/mysql_sender-login-maps.cf
- readme_directory = /usr/share/doc/postfix
- receive_override_options = no_address_mappings
- recipient_delimiter = +
- # reject_rbl_client bl.spamcop.net,
- #reject_sender_login_mismatch,
- #relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
- relay_recipient_maps = proxy:mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
- # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
- # See /usr/share/postfix/main.cf.dist for a commented, more complete version
- smtpd_banner = $myhostname ESMTP Apple Secure Mail Relay (OSX 10.6)
- #smtpd_client_restrictions = check_client_access proxy:mysql:/etc/postfix/mysql-virtual_client.cf
- smtpd_delay_reject = yes
- smtpd_helo_required = yes
- smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_rbl_client zen.spamhaus.org, permit_auth_destination, # reject_rbl_client bl.spamcop.net, reject # reject_rbl_client bl.spamcop.net,
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_authenticated_header = yes
- smtpd_sasl_local_domain = $myhostname
- smtpd_sasl_path = smtpd
- smtpd_sasl_security_options = noanonymous
- #smtpd_sasl_type = dovecot
- smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql_sender-login-maps.cf
- smtpd_sender_restrictions = reject_unknown_sender_domain
- #smtpd_tls_auth_only = yes
- smtpd_tls_cert_file = /etc/ssl/certs/ssl-mail.pem
- smtpd_tls_key_file = /etc/ssl/private/ssl-mail.key
- #smtpd_tls_mandatory_ciphers = medium
- #smtpd_tls_mandatory_protocols = SSLv3, TLSv1
- #smtpd_tls_received_header = yes
- smtpd_tls_received_header = yes
- smtpd_tls_security_level = may
- smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
- smtpd_use_tls = yes
- smtp_fallback_relay = [mail.on-nets.com]
- #smtp_fallback_relay = [smtp2.wtt-mail.com]
- smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
- #smtp_use_tls = yes
- #soft_bounce = yes
- spf-policyd_time_limit = 3600s
- # TLS parameters
- #tls_random_source = dev:/dev/urandom
- tls_random_source = dev:/dev/urandom
- transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
- # Uncomment the next line to generate "delayed mail" warnings
- vacation_destination_recipient_limit = 1
- virtual_alias_domains =
- virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
- virtual_create_maildirsize = yes
- virtual_gid_maps = static:5000
- virtual_mailbox_base = /home/vmail
- virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
- virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
- virtual_mailbox_limit_override = yes
- virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
- virtual_maildir_extended = yes
- virtual_maildir_limit_message = "The user you are trying to reach is over quota."
- virtual_overquota_bounce = yes
- virtual_transport = dovecot
- virtual_uid_maps = static:5000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement