Guest User

Untitled

a guest
Mar 5th, 2021
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.23 KB | None | 0 0
  1. smtp inet n - y - - smtpd
  2. -o content_filter=spamassassin
  3. submission inet n - y - - smtpd
  4. -o content_filter=filter:dummy
  5. -o syslog_name=postfix/submission
  6. -o smtpd_tls_security_level=may
  7. -o smtpd_sasl_auth_enable=yes
  8. -o smtpd_tls_auth_only=yes
  9. pickup unix n - y 60 1 pickup
  10. cleanup unix n - y - 0 cleanup -v
  11. qmgr unix n - n 300 1 qmgr
  12. tlsmgr unix - - y 1000? 1 tlsmgr
  13. rewrite unix - - y - - trivial-rewrite -v
  14. bounce unix - - y - 0 bounce
  15. defer unix - - y - 0 bounce
  16. trace unix - - y - 0 bounce
  17. verify unix - - y - 1 verify
  18. flush unix n - y 1000? 0 flush
  19. proxymap unix - - n - - proxymap
  20. proxywrite unix - - n - 1 proxymap
  21. smtp unix - - y - - smtp
  22. relay unix - - y - - smtp
  23. -o syslog_name=postfix/$service_name
  24. showq unix n - y - - showq
  25. error unix - - y - - error
  26. retry unix - - y - - error
  27. discard unix - - y - - discard
  28. local unix - n n - - local
  29. virtual unix - n n - - virtual
  30. lmtp unix - - y - - lmtp
  31. anvil unix - - y - 1 anvil
  32. scache unix - - y - 1 scache
  33. postlog unix-dgram n - n - 1 postlogd
  34. maildrop unix - n n - - pipe flags=DRhu
  35. user=vmail argv=/usr/bin/maildrop -d ${recipient}
  36. ifmail unix - n n - - pipe flags=F user=ftn
  37. argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  38. bsmtp unix - n n - - pipe flags=Fq.
  39. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f $sender $recipient
  40. scalemail-backend unix - n n - 2 pipe flags=R
  41. user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop}
  42. ${user} ${extension}
  43. spamassassin unix - n n - - pipe user=debian-spamd
  44. argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
  45. filter unix - n n - 10 pipe flags=Rq
  46. user=admin null_sender= argv=/var/filtercard.sh -f ${sender} --
  47. ${recipient}
  48. policyd-spf unix - n n - 0 spawn user=policyd-spf
  49. argv=/usr/bin/policyd-spf
  50.  
  51.  
  52.  
  53. alias_database = hash:/etc/aliases
  54. alias_maps = hash:/etc/aliases
  55. append_dot_mydomain = no
  56. biff = no
  57. broken_sasl_auth_clients = yes
  58. command_directory = /usr/sbin
  59. compatibility_level = 2
  60. daemon_directory = /usr/lib/postfix/sbin
  61. data_directory = /var/lib/postfix
  62. debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
  63. default_destination_recipient_limit = 50
  64. duplicate_filter_limit = 1000
  65. home_mailbox = Maildir/
  66. inet_interfaces = all
  67. inet_protocols = all
  68. local_recipient_maps = unix:passwd.byname $alias_maps
  69. mail_owner = postfix
  70. mailbox_size_limit = 3145728000
  71. mailbox_transport = lmtp:unix:private/dovecot-lmtp
  72. mailq_path = /usr/bin/mailq
  73. message_size_limit = 26214400
  74. milter_default_action = accept
  75. milter_protocol = 6
  76. mydestination = $myhostname localhost.$mydomain localhost $mydomain
  77. mydomain = example.com
  78. myhostname = email.examaple.com
  79. mynetworks = 127.0.0.0/8
  80. mynetworks_style = subnet
  81. myorigin = example.com
  82. newaliases_path = /usr/bin/newaliases
  83. policyd-spf_time_limit = 3600
  84. recipient_delimiter = +
  85. sender_bcc_maps = pcre:/etc/postfix/sender_bcc
  86. sendmail_path = /usr/sbin/sendmail
  87. setgid_group = postdrop
  88. smtp_destination_recipient_limit = $default_destination_recipient_limit
  89. smtp_tls_note_starttls_offer = yes
  90. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  91. smtp_use_tls = yes
  92. smtpd_banner = $myhostname ESMTP
  93. smtpd_milters = unix:/opendkim/opendkim.sock
  94. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service unix:private/policyd-spf
  95. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
  96. smtpd_sasl_auth_enable = yes
  97. smtpd_sasl_local_domain = $myhostname
  98. smtpd_sasl_path = private/auth
  99. smtpd_sasl_security_options = noanonymous
  100. smtpd_sasl_type = dovecot
  101. smtpd_tls_cert_file = /etc/letsencrypt/live/email.example.com/fullchain.pem
  102. smtpd_tls_key_file = /etc/letsencrypt/live/email.example.com/privkey.pem
  103. smtpd_tls_received_header = yes
  104. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  105. smtpd_use_tls = yes
  106. unknown_local_recipient_reject_code = 550
  107. virtual_alias_maps = hash:/etc/postfix/virtual
  108. virtual_mailbox_limit = 26214400
  109. virtual_transport = lmtp:unix:private/dovecot-lmtp
  110.  
  111.  
Advertisement
Add Comment
Please, Sign In to add comment