Advertisement
Guest User

main.cf

a guest
Mar 18th, 2015
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.72 KB | None | 0 0
  1. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  2.  
  3.  
  4. # Debian specific:  Specifying a file name will cause the first
  5. # line of that file to be used as the name.  The Debian default
  6. # is /etc/mailname.
  7. #myorigin = /etc/mailname
  8.  
  9. smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  10. biff = no
  11.  
  12. # appending .domain is the MUA's job.
  13. append_dot_mydomain = no
  14.  
  15. # Uncomment the next line to generate "delayed mail" warnings
  16. #delay_warning_time = 4h
  17.  
  18. readme_directory = no
  19.  
  20. # TLS parameters
  21. smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  22. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  23. smtpd_use_tls=yes
  24. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  25. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  26. smtp_tls_security_level=encrypt
  27. smtp_tls_CAfile = /etc/postfix/cacert.pem
  28.  
  29. # SASL PARAMETER
  30.  
  31. smtp_sasl_auth_enable = yes
  32. smtp_sasl_security_options = noanonymous
  33. smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd
  34. smtp_always_send_ehlo = yes
  35. smtp_sasl_mechanism_filter = !gssapi, !ntlm, login
  36. broken_sasl_auth_clients = yes
  37. smtp_sasl_type = cyrus
  38. smtp_always_send_ehlo = yes
  39.  
  40. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  41. # information on enabling SSL in the smtp client.
  42.  
  43. myhostname = bacula.mo2o.com
  44. alias_maps = hash:/etc/aliases
  45. alias_database = hash:/etc/aliases
  46. myorigin = /etc/mailname
  47. mydestination = bacula.mo2o.com, localhost.mo2o.com, , localhost
  48. relayhost = [correo.example.es]:587
  49. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  50. mailbox_command = procmail -a "$EXTENSION"
  51. mailbox_size_limit = 0
  52. recipient_delimiter = +
  53. inet_interfaces = all
  54. inet_protocols = ipv4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement