Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #LOCAL PATHNAME INFORMATION
- queue_directory = /var/spool/postfix
- command_directory = /usr/sbin
- daemon_directory = /usr/libexec/postfix
- data_directory = /var/lib/postfix
- #QUEUE AND PROCESS OWNERSHIP
- mail_owner = postfix
- #default_privs = nobody
- #INTERNET HOST AND DOMAIN NAMES
- myhostname = dmc-mail-1.rdlab.dv
- mydomain = $myhostname
- #SENDING MAIL
- myorigin = $myhostname
- # RECEIVING MAIL
- inet_interfaces = all
- inet_protocols = all
- mydestination = $myhostname, localhost.$mydomain, localhost
- #REJECTING MAIL FOR UNKNOWN LOCAL USERS
- #local_recipient_maps = unix:passwd.byname $alias_maps
- #local_recipient_maps = proxy:unix:passwd.byname $alias_maps
- #local_recipient_maps =
- unknown_local_recipient_reject_code = 550
- # TRUST AND RELAY CONTROL
- mynetworks = 127.0.0.0/8, 172.30.39.0/24 <--- local network ??
- relay_host = $mydomain <-- Mail server ??
- # REJECTING UNKNOWN RELAY USERS
- #relay_recipient_maps = hash:/etc/postfix/relay_recipients
- #in_flow_delay = 1s
- # ADDRESS REWRITING
- alias_maps = hash:/etc/aliases
- alias_database = hash:/etc/aliases
- # ADDRESS EXTENSIONS (e.g., user+foo)
- #recipient_delimiter = +
- # DELIVERY TO MAILBOX
- home_mailbox = ~/Maildir/
- mail_spool_directory = /var/spool/mail
- mailbox_command = /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT"
- # JUNK MAIL CONTROLS
- #header_checks = regexp:/etc/postfix/header_checks
- # FAST ETRN SERVICE
- #fast_flush_domains = $relay_domains
- # SHOW SOFTWARE VERSION OR NOT
- smtpd_banner = $myhostname ESMTP $mail_name
- # DEBUGGING CONTROL
- debug_peer_level = 2
- #debug_peer_list = 127.0.0.1
- #debug_peer_list = some.domain
- debugger_command =
- PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont;
- echo where) | gdb $daemon_directory/$process_name $process_id 2>&1
- # INSTALL-TIME CONFIGURATION INFORMATION
- sendmail_path = /usr/sbin/sendmail.postfix
- newaliases_path = /usr/bin/newaliases.postfix
- mailq_path = /usr/bin/mailq.postfix
- setgid_group = postdrop
- html_directory = no
- ## Add-Ons ##1
- masquerade_domains = dmc-mail-1.rdlab.dv
- ## TLS ##
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_type = dovecot
- smtpd_sasl_path = private/auth
- smtpd_tls_received_header = yes
- smtpd_tls_security_level = may
- smtpd_tls_auth_only = no
- smtpd_tls_cert_file = /etc/postfix/keys/postfix_cert.pem
- smtpd_tls_key_file = /etc/postfix/keys/postfix_key.pem
- smtpd_starttls_timeout = 300s
- smtpd_tls_loglevel = 0
- #SASL
- smtpd_sasl_local_domain =
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_security_options = noanonymous
- broken_sasl_auth_clients = yes
- smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement