Advertisement
Lincle

/etc/postfix/master.cf

Oct 24th, 2015
3,195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. smtp      inet  n       -       n       -       -       smtpd
  2. #smtp      inet  n       -       n       -       1       postscreen
  3. #smtpd     pass  -       -       n       -       -       smtpd
  4. #dnsblog   unix  -       -       n       -       0       dnsblog
  5. #tlsproxy  unix  -       -       n       -       0       tlsproxy
  6.  
  7. submission inet n       -       n       -       -       smtpd
  8. #  -o syslog_name=postfix/submission
  9.   -o smtpd_tls_security_level=encrypt
  10.   -o smtpd_sasl_auth_enable=yes
  11. #  -o smtpd_reject_unlisted_recipient=no
  12. #  -o smtpd_client_restrictions=$mua_client_restrictions
  13.  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  14. #  -o smtpd_helo_restrictions=$mua_helo_restrictions
  15. #  -o smtpd_sender_restrictions=$mua_sender_restrictions
  16.   -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
  17.   -o milter_macro_daemon_name=ORIGINATING
  18.  
  19. smtps     inet  n       -       -       -       -       smtpd
  20. #  -o syslog_name=postfix/smtps
  21.   -o smtpd_tls_wrappermode=yes
  22.   -o smtpd_sasl_auth_enable=no
  23. #  -o smtpd_reject_unlisted_recipient=no
  24. #  -o smtpd_client_restrictions=$mua_client_restrictions
  25.   -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  26. #  -o smtpd_helo_restrictions=$mua_helo_restrictions
  27. #  -o smtpd_sender_restrictions=$mua_sender_restrictions
  28.   -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
  29.   -o milter_macro_daemon_name=ORIGINATING
  30.  
  31. ##/etc/sasl2/smtpd.conf
  32. pwcheck_method: auxprop
  33. auxprop_plugin: sasldb
  34. mech_list: plain login cram-md5 digest-md5
  35.  
  36. ##/etc/dovecot/conf.d/10-ssl.conf
  37. ssl = yes
  38. ssl_cert = </etc/pki/CA/certs/mail.example.com.pem
  39. ssl_key = </etc/pki/CA/private/mail.example.com.key
  40.  
  41. ##/etc/dovecot/conf.d/10-auth.conf
  42. disable_plaintext_auth = no
  43. auth_mechanisms = plain login
  44.  
  45. !include auth-system.conf.ext
  46. #!include auth-sql.conf.ext
  47. #!include auth-ldap.conf.ext
  48. #!include auth-passwdfile.conf.ext
  49. #!include auth-checkpassword.conf.ext
  50. #!include auth-vpopmail.conf.ext
  51. #!include auth-static.conf.ext
  52.  
  53. ##/etc/dovecot/conf.d/10-master.conf
  54. service imap-login {
  55. inet_listener imap {
  56. #port = 143
  57. }
  58. inet_listener imaps {
  59. port = 993
  60. ssl = yes
  61. }
  62. }
  63.  
  64. service pop3-login {
  65. inet_listener pop3 {
  66. #port = 110
  67. }
  68. inet_listener pop3s {
  69. port = 995
  70. ssl = yes
  71. }
  72. }
  73.  
  74. # Postfix smtp-auth
  75. unix_listener /var/spool/postfix/private/auth {
  76. mode = 0666
  77. user = postfix
  78. group = postfix
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement