Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. main.cf:-
  2. -----------------------------
  3.  
  4. # is /etc/mailname.
  5. #myorigin = /etc/mailname
  6.  
  7. smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  8. biff = no
  9.  
  10. # appending .domain is the MUA's job.
  11. append_dot_mydomain = no
  12.  
  13. # Uncomment the next line to generate "delayed mail" warnings
  14. #delay_warning_time = 4h
  15.  
  16. readme_directory = no
  17.  
  18. # TLS parameters
  19. smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  20. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  21. smtpd_use_tls = no
  22. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  23. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  24.  
  25. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  26. # information on enabling SSL in the smtp client.
  27.  
  28. myhostname = qa-noweb01.xxxxxx.co.uk
  29. alias_maps = hash:/etc/aliases
  30. alias_database = hash:/etc/aliases
  31. myorigin = qa-support.xxxxxx.co.uk
  32. mydestination = noweb09.xxxxxx.co.uk, localhost.xxxxxx.co.uk, localhost, qa-support.xxxxxx.co.uk
  33. relayhost =
  34. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  35. mailbox_size_limit = 0
  36. recipient_delimiter = +
  37. inet_interfaces = all
  38. virtual_maps = hash:/etc/postfix/virtual, regexp:/etc/postfix/virtual-regexp
  39. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
  40.  
  41.  
  42. # AK 2014/03/24 - Added entries
  43. default_privs = sirportly
  44. # AK 2014/03/24 - Commented out
  45. # myorigin = /etc/mailname
  46.  
  47.  
  48.  
  49. /etc/aliases:-
  50. -----------------------------
  51.  
  52. root: sysadmin@xxxxxxxx.co.uk
  53.  
  54.  
  55.  
  56. /etc/postfix/virtual-regexp:-
  57. -----------------------------
  58.  
  59.  
  60. /^(dswift)@xxxxxxxx\.co\.uk/ $(1)@xxxxxxxx.co.uk
  61. /^(root)/ sysadmin@xxxxxxxx.co.uk
  62. /^(woverton)@xxxxxxxx\.co\.uk/ $(1)@xxxxxxxx.co.uk
  63. /^.+@qa-support\.xxxxxxxx\.co\.uk/ help
  64. /.+@.+/ qa.xxxxxxxx@gmail.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement