Advertisement
Guest User

Untitled

a guest
Jul 29th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.11 KB | None | 0 0
  1. [root@595ac83d263a ~]# echo "" > /var/log/maillog
  2. [root@595ac83d263a ~]# echo "" > /var/spool/mail/root
  3. [root@595ac83d263a ~]# echo "Body" | mail -s "Title NO SPAM" "alfreditospowerspam@gmail.com"
  4. [root@595ac83d263a ~]# sleep 3
  5. [root@595ac83d263a ~]# cat /var/log/maillog
  6.  
  7. Jul 29 21:51:41 595ac83d263a postfix/pickup[6910]: 155C112B64: uid=0 from=<root>
  8. Jul 29 21:51:41 595ac83d263a postfix/cleanup[11283]: 155C112B64: message-id=<20150729215141.155C112B64@localhost>
  9. Jul 29 21:51:41 595ac83d263a postfix/qmgr[6911]: 155C112B64: from=<root@localhost.localdomain>, size=439, nrcpt=1 (queue active)
  10. Jul 29 21:51:41 595ac83d263a postfix/smtp[11287]: connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c05::1b]:25: Network is unreachable
  11. Jul 29 21:51:42 595ac83d263a postfix/smtp[11287]: 155C112B64: to=<alfreditospowerspam@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.67.26]:25, delay=1.2, delays=0.14/0.01/0.38/0.69, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[173.194.67.26] said: 550-5.7.1 [79.150.9.233 12] Our system has detected that this message is 550-5.7.1 likely unsolicited mail. To reduce the amount of spam sent to Gmail, 550-5.7.1 this message has been blocked. Please visit 550 5.7.1 https://support.google.com/mail/answer/188131 for more information. cx3si29457394wib.115 - gsmtp (in reply to end of DATA command))
  12. Jul 29 21:51:42 595ac83d263a postfix/cleanup[11283]: 4BAB612B66: message-id=<20150729215142.4BAB612B66@localhost>
  13. Jul 29 21:51:42 595ac83d263a postfix/bounce[11289]: 155C112B64: sender non-delivery notification: 4BAB612B66
  14. Jul 29 21:51:42 595ac83d263a postfix/qmgr[6911]: 4BAB612B66: from=<>, size=2910, nrcpt=1 (queue active)
  15. Jul 29 21:51:42 595ac83d263a postfix/qmgr[6911]: 155C112B64: removed
  16. Jul 29 21:51:42 595ac83d263a postfix/local[11291]: 4BAB612B66: to=<root@localhost.localdomain>, relay=local, delay=0.13, delays=0.06/0.01/0/0.05, dsn=2.0.0, status=sent (delivered to mailbox)
  17. Jul 29 21:51:42 595ac83d263a postfix/qmgr[6911]: 4BAB612B66: removed
  18. [root@595ac83d263a ~]# cat /var/spool/mail/root
  19.  
  20. From MAILER-DAEMON Wed Jul 29 21:51:42 2015
  21. Return-Path: <>
  22. X-Original-To: root@localhost.localdomain
  23. Delivered-To: root@localhost.localdomain
  24. Received: by localhost (Postfix)
  25. id 4BAB612B66; Wed, 29 Jul 2015 21:51:42 +0000 (UTC)
  26. Date: Wed, 29 Jul 2015 21:51:42 +0000 (UTC)
  27. From: MAILER-DAEMON@localhost.localdomain (Mail Delivery System)
  28. Subject: Undelivered Mail Returned to Sender
  29. To: root@localhost.localdomain
  30. Auto-Submitted: auto-replied
  31. MIME-Version: 1.0
  32. Content-Type: multipart/report; report-type=delivery-status;
  33. boundary="155C112B64.1438206702/localhost"
  34. Message-Id: <20150729215142.4BAB612B66@localhost>
  35.  
  36. This is a MIME-encapsulated message.
  37.  
  38. --155C112B64.1438206702/localhost
  39. Content-Description: Notification
  40. Content-Type: text/plain; charset=us-ascii
  41.  
  42. This is the mail system at host localhost.
  43.  
  44. I'm sorry to have to inform you that your message could not
  45. be delivered to one or more recipients. It's attached below.
  46.  
  47. For further assistance, please send mail to postmaster.
  48.  
  49. If you do so, please include this problem report. You can
  50. delete your own text from the attached returned message.
  51.  
  52. The mail system
  53.  
  54. <alfreditospowerspam@gmail.com>: host gmail-smtp-in.l.google.com[173.194.67.26]
  55. said: 550-5.7.1 [79.150.9.233 12] Our system has detected that this
  56. message is 550-5.7.1 likely unsolicited mail. To reduce the amount of spam
  57. sent to Gmail, 550-5.7.1 this message has been blocked. Please visit 550
  58. 5.7.1 https://support.google.com/mail/answer/188131 for more information.
  59. cx3si29457394wib.115 - gsmtp (in reply to end of DATA command)
  60.  
  61. --155C112B64.1438206702/localhost
  62. Content-Description: Delivery report
  63. Content-Type: message/delivery-status
  64.  
  65. Reporting-MTA: dns; localhost
  66. X-Postfix-Queue-ID: 155C112B64
  67. X-Postfix-Sender: rfc822; root@localhost.localdomain
  68. Arrival-Date: Wed, 29 Jul 2015 21:51:41 +0000 (UTC)
  69.  
  70. Final-Recipient: rfc822; alfreditospowerspam@gmail.com
  71. Action: failed
  72. Status: 5.7.1
  73. Remote-MTA: dns; gmail-smtp-in.l.google.com
  74. Diagnostic-Code: smtp; 550-5.7.1 [79.150.9.233 12] Our system has detected
  75. that this message is 550-5.7.1 likely unsolicited mail. To reduce the
  76. amount of spam sent to Gmail, 550-5.7.1 this message has been blocked.
  77. Please visit 550 5.7.1 https://support.google.com/mail/answer/188131 for
  78. more information. cx3si29457394wib.115 - gsmtp
  79.  
  80. --155C112B64.1438206702/localhost
  81. Content-Description: Undelivered Message
  82. Content-Type: message/rfc822
  83.  
  84. Return-Path: <root@localhost.localdomain>
  85. Received: by localhost (Postfix, from userid 0)
  86. id 155C112B64; Wed, 29 Jul 2015 21:51:41 +0000 (UTC)
  87. Date: Wed, 29 Jul 2015 21:51:40 +0000
  88. To: alfreditospowerspam@gmail.com
  89. Subject: Title NO SPAM
  90. User-Agent: Heirloom mailx 12.4 7/29/08
  91. MIME-Version: 1.0
  92. Content-Type: text/plain; charset=us-ascii
  93. Content-Transfer-Encoding: 7bit
  94. Message-Id: <20150729215141.155C112B64@localhost>
  95. From: root@localhost.localdomain (root)
  96.  
  97. Body
  98.  
  99. --155C112B64.1438206702/localhost--
  100.  
  101. [root@595ac83d263a ~]# postconf -n
  102. alias_database = hash:/etc/aliases,hash:/etc/aliases.codendi,hash:/etc/aliases.codendi,hash:/etc/aliases.codendi
  103. alias_maps = hash:/etc/aliases,hash:/etc/aliases.codendi,hash:/etc/aliases.codendi,hash:/etc/aliases.codendi
  104. command_directory = /usr/sbin
  105. config_directory = /etc/postfix
  106. daemon_directory = /usr/libexec/postfix
  107. data_directory = /var/lib/postfix
  108. debug_peer_level = 2
  109. html_directory = no
  110. inet_interfaces = all <--- ¿¿ I CHANGE THIS BECAUSE I USE RANGE 192.168.1.xxx ??
  111. If i not change it, i get some error.... from localhost to all
  112. inet_protocols = all
  113. mail_owner = postfix
  114. mailq_path = /usr/bin/mailq.postfix
  115. manpage_directory = /usr/share/man
  116. mydestination = $myhostname, localhost.$mydomain, localhost
  117. myhostname = localhost
  118. newaliases_path = /usr/bin/newaliases.postfix
  119. queue_directory = /var/spool/postfix
  120. readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
  121. sample_directory = /usr/share/doc/postfix-2.6.6/samples
  122. sendmail_path = /usr/sbin/sendmail.postfix
  123. setgid_group = postdrop
  124. unknown_local_recipient_reject_code = 550
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement