Guest User

Untitled

a guest
Feb 18th, 2019
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. mydomain = example.com
  2. myorigin = example.com
  3. smtpd_banner = $mydomain ESMTP $mail_name (Ubuntu)
  4. biff = no
  5. append_dot_mydomain = no
  6. readme_directory = no
  7. smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  8. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  9. smtpd_use_tls=yes
  10. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  11. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  12. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
  13. myhostname = merlin.example.com
  14. alias_maps = hash:/etc/aliases
  15. alias_database = hash:/etc/aliases
  16. mydestination = $myhostname localhost.$mydomain localhost $mydomain
  17. relayhost =
  18. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  19. mailbox_size_limit = 0
  20. recipient_delimiter = +
  21. inet_interfaces = all
  22. inet_protocols = all
  23.  
  24. 127.0.0.1 localhost
  25. XX.XX.XX.XX merlin.example.com merlin
  26.  
  27. # The following lines are desirable for IPv6 capable hosts
  28. ::1 localhost ip6-localhost ip6-loopback
  29. ff02::1 ip6-allnodes
  30. ff02::2 ip6-allrouters
  31.  
  32. Delivered-To: xxx@gmail.com
  33. Received: by 10.107.173.142 with SMTP id m14csp624755ioo;
  34. Sun, 3 Apr 2016 01:12:36 -0700 (PDT)
  35. X-Received: by 10.66.101.35 with SMTP id fd3mr43641306pab.7.1459671156649;
  36. Sun, 03 Apr 2016 01:12:36 -0700 (PDT)
  37. Return-Path: <user@merlin.example.com>
  38. Received: from merlin.example.com (xxx-89-xx-64.xxx.xxx.xx.xx. [xxx.89.xx.64])
  39. by mx.google.com with ESMTP id n69si18026934pfi.104.2016.04.03.01.12.36
  40. for <xxx@gmail.com>;
  41. Sun, 03 Apr 2016 01:12:36 -0700 (PDT)
  42. Received-SPF: neutral (google.com: xxx.89.xx.64 is neither permitted nor denied by best guess record for domain of user@merlin.example.com) client-ip=xxx.89.xx.64;
  43. Authentication-Results: mx.google.com;
  44. spf=neutral (google.com: xxx.89.xx.64 is neither permitted nor denied by best guess record for domain of user@merlin.example.com) smtp.mailfrom=user@merlin.example.com
  45. Received: by merlin.example.com (Postfix, from userid 1000)
  46. id 02854601326; Sun, 3 Apr 2016 20:12:12 +1200 (NZST)
  47.  
  48. /etc/postfix/main.cf:
  49. myorigin = $myhostname (default: send mail as "user@$myhostname")
  50. myorigin = $mydomain (probably desirable: "user@$mydomain")
Add Comment
Please, Sign In to add comment