Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2015
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. Update, I can now send mail to external domains, but not receive from external domains.
  2. But user1@mydomain.com & user2@mydomain.com can send and receive emails to each other.
  3.  
  4. MX record exists:
  5. 10 @ mail.mydomain.com 1 Hour
  6. 0 @ smtp.mydomain.com 1 Hour
  7.  
  8. doveconf -n
  9.  
  10. auth_mechanisms = plain login
  11. mail_location = maildir:~/Maildir
  12. namespace inbox {
  13. inbox = yes
  14. location =
  15. mailbox Drafts {
  16. special_use = Drafts
  17. }
  18. mailbox Junk {
  19. special_use = Junk
  20. }
  21. mailbox Sent {
  22. special_use = Sent
  23. }
  24. mailbox "Sent Messages" {
  25. special_use = Sent
  26. }
  27. mailbox Trash {
  28. special_use = Trash
  29. }
  30. prefix =
  31. }
  32. passdb {
  33. driver = pam
  34. }
  35. protocols = pop3 imap
  36. service auth {
  37. unix_listener /var/spool/postfix/private/auth {
  38. group = postfix
  39. mode = 0660
  40. user = postfix
  41. }
  42. }
  43. ssl = no
  44. userdb {
  45. driver = passwd
  46. }
  47.  
  48. postconf -n
  49.  
  50. alias_database = hash:/etc/aliases
  51. alias_maps = hash:/etc/aliases
  52. append_dot_mydomain = no
  53. biff = no
  54. config_directory = /etc/postfix
  55. home_mailbox = Maildir/
  56. inet_interfaces = all
  57. inet_protocols = ipv4
  58. mailbox_size_limit = 0
  59. mydestination = mydomain.com, ip-172-31-25-194.us-west-2.compute.internal, localhost.us-west-2.compute.internal, localhost
  60. myhostname = mydomain.com
  61. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  62. myorigin = /etc/mailname
  63. queue_directory = /var/spool/postfix
  64. readme_directory = no
  65. recipient_delimiter = +
  66. relayhost =
  67. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  68. smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  69. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
  70. smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
  71. smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
  72. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  73. smtpd_use_tls = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement