Advertisement
jcho0k

master.cf

Jun 17th, 2020
4,060
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.19 KB | None | 0 0
  1. #
  2. # Postfix master process configuration file.  For details on the format
  3. # of the file, see the master(5) manual page (command: "man 5 master" or
  4. # on-line: http://www.postfix.org/master.5.html).
  5. #
  6. # Do not forget to execute "postfix reload" after editing this file.
  7. #
  8. # ==========================================================================
  9. # service type  private unpriv  chroot  wakeup  maxproc command + args
  10. #               (yes)   (yes)   (no)    (never) (100)
  11. # ==========================================================================
  12. smtp      inet  n       -       y       -       -       smtpd
  13.   -o content_filter=scan:127.0.0.1:10025
  14.   -o receive_override_options=no_address_mappings
  15.   -o milter_protocol=6
  16.   -o milter_default_action=accept
  17.   -o smtpd_milters=unix:opendkim/opendkim.sock
  18.   -o non_smtpd_milters=unix:opendkim/opendkim.sock
  19.  
  20. #
  21. # This is the "advanced" after-queue filter.
  22. #
  23. # Read more here:
  24. # http://www.postfix.org/FILTER_README.html
  25. # http://opendkim.org/opendkim.8.html#OPERATION
  26. #
  27. scan      unix  -       -       y       -       100      smtp
  28.   -o smtp_send_xforward_command=yes
  29.   -o disable_mime_output_conversion=yes
  30.   -o smtp_generic_maps=
  31.   -o smtp_tls_security_level=none
  32.  
  33. # Here's the "reuptake" port, where you can add the opendkim signer.
  34. 127.0.0.1:10026 inet  n       -       y       -       100      smtpd
  35.   -o content_filter=
  36.   -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  37.   -o smtpd_tls_security_level=none
  38.   -o smtpd_helo_restrictions=
  39.   -o smtpd_client_restrictions=
  40.   -o smtpd_sender_restrictions=
  41.   -o milter_protocol=6
  42.   -o milter_default_action=accept
  43.   -o smtpd_milters=unix:opendkim/opendkim.sock
  44.   -o non_smtpd_milters=unix:opendkim/opendkim.sock
  45.   -o smtpd_relay_restrictions=
  46.   -o smtpd_recipient_restrictions=permit_mynetworks,reject
  47.   -o mynetworks=127.0.0.0/8
  48.   -o smtpd_authorized_xforward_hosts=127.0.0.0/8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement