Advertisement
Guest User

Untitled

a guest
Feb 11th, 2017
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1. sudo postmap /etc/postfix/sasl_passwd
  2. sudo chgrp postfix sasl_passwd*
  3. sudo chmod 0640 sasl_passwd*
  4. sudo postmap -q [smtp.gmail.com]:587 sasl_passwd
  5.  
  6. #Gmail SMTP
  7. relayhost=smtp.gmail.com:587
  8. # Enable SASL authentication in the Postfix SMTP client.
  9. smtp_sasl_auth_enable=yes
  10. smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd
  11. smtp_sasl_security_options=noanonymous
  12. smtp_sasl_mechanism_filter=plain
  13. # Enable Transport Layer Security (TLS), i.e. SSL.
  14. smtp_use_tls=yes
  15. smtp_tls_security_level=encrypt
  16. tls_random_source=dev:/dev/urandom
  17.  
  18. From MAILER-DAEMON Thu Feb 9 14:53:14 2017
  19. X-Original-To: Admin@MacBook-Pro.local
  20. Delivered-To: Admin@MacBook-Pro.local
  21. Date: Thu, 9 Feb 2017 14:53:14 +0530 (IST)
  22. From: MAILER-DAEMON@MacBook-Pro.local (Mail Delivery System)
  23. Subject: Undelivered Mail Returned to Sender
  24. To: Admin@MacBook-Pro.local
  25. Auto-Submitted: auto-replied
  26. MIME-Version: 1.0
  27. Content-Type: multipart/report; report-type=delivery-status;
  28. boundary="CD41810841CF.1486632194/MacBook-Pro.local"
  29.  
  30. This is a MIME-encapsulated message.
  31.  
  32. --CD41810841CF.1486632194/MacBook-Pro.local
  33. Content-Description: Notification
  34. Content-Type: text/plain; charset=us-ascii
  35.  
  36. This is the mail system at host MacBook-Pro.local.
  37.  
  38. I'm sorry to have to inform you that your message could not
  39. be delivered to one or more recipients. It's attached below.
  40.  
  41. For further assistance, please send mail to postmaster.
  42.  
  43. If you do so, please include this problem report. You can
  44. delete your own text from the attached returned message.
  45.  
  46. The mail system
  47.  
  48. <varungupta.masters@gmail.com>: host smtp.gmail.com[74.125.200.109] said:
  49. 530-5.5.1 Authentication Required. Learn more at 530 5.5.1
  50. https://support.google.com/mail/?p=WantAuthError a25sm27067419pgd.26 -
  51. gsmtp (in reply to MAIL FROM command)
  52.  
  53. --CD41810841CF.1486632194/MacBook-Pro.local
  54. Content-Description: Delivery report
  55. Content-Type: message/delivery-status
  56.  
  57. Reporting-MTA: dns; MacBook-Pro.local
  58. X-Postfix-Queue-ID: CD41810841CF
  59. X-Postfix-Sender: rfc822; Admin@MacBook-Pro.local
  60. Arrival-Date: Thu, 9 Feb 2017 14:53:11 +0530 (IST)
  61.  
  62. Final-Recipient: rfc822; varungupta.masters@gmail.com
  63. Original-Recipient: rfc822;varungupta.masters@gmail.com
  64. Action: failed
  65. Status: 5.5.1
  66. Remote-MTA: dns; smtp.gmail.com
  67. Diagnostic-Code: smtp; 530-5.5.1 Authentication Required. Learn more at 530
  68. 5.5.1 https://support.google.com/mail/?p=WantAuthError a25sm27067419pgd.26
  69. - gsmtp
  70.  
  71. --CD41810841CF.1486632194/MacBook-Pro.local
  72. Content-Description: Undelivered Message
  73. Content-Type: message/rfc822
  74.  
  75. Return-Path: <Admin@MacBook-Pro.local>
  76. Received: by MacBook-Pro.local (Postfix, from userid 501)
  77. id CD41810841CF; Thu, 9 Feb 2017 14:53:11 +0530 (IST)
  78. To: varungupta.masters@gmail.com
  79. Subject: testing
  80. Message-Id: <20170209092311.CD41810841CF@MacBook-Pro.local>
  81. Date: Thu, 9 Feb 2017 14:53:11 +0530 (IST)
  82. From: Admin@MacBook-Pro.local (Admin)
  83.  
  84. Thu Feb 9 14:53:11 IST 2017
  85.  
  86. --CD41810841CF.1486632194/MacBook-Pro.local--
  87.  
  88. acBook-Pro.local--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement