Skip to content

Instantly share code, notes, and snippets.

Created March 14, 2018 21:58
Show Gist options
  • Save anonymous/439b43d4c08aba20847ec83bf0ec66fb to your computer and use it in GitHub Desktop.
Save anonymous/439b43d4c08aba20847ec83bf0ec66fb to your computer and use it in GitHub Desktop.
[root@Riprid zeta]# cat /etc/postfix/main.cf
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
#myhostname = riprid.zetafield.eu
inet_interfaces = all
inet_protocols = ipv4
unknown_local_recipient_reject_code = 550
mynetworks_style = host
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6.6/samples
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
smtp_sasl_type = cyrus
smtp_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
#smtpd_recipient_restrictions = check_relay_domains permit_mynetworks permit_inet_interfaces permit_sasl_authenticated
smtp_tls_security_level = may
header_size_limit = 4096000
relayhost = [smtp.sendgrid.net]:587
smtp_generic_maps = hash:/etc/postfix/generic
smtp_tls_CAfile = /etc/postfix/gd_bundle-g2-g1.crt
smtp_sasl_mechanism_filter = plain, login
smtpd_tls_auth_only = no
smtpd_sasl_application_name = smtpd[
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment