Guest User

Untitled

a guest
Mar 14th, 2018
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.98 KB | None | 0 0
  1.  
  2. --------------------------------------------------------------------------------------------------------------------------
  3. -- "cat /var/log/mail.log":
  4. --------------------------------------------------------------------------------------------------------------------------
  5.  
  6. Nov 15 10:19:45 mydebianserver postfix/pickup[19631]: 99DA819C1B8: uid=1000 from=<administrator>
  7. Nov 15 10:19:45 mydebianserver postfix/cleanup[21586]: 99DA819C1B8: message-id=<20111115161945.99DA819C1B8@mydebianserver.localdomain>
  8. Nov 15 10:19:45 mydebianserver postfix/qmgr[19632]: 99DA819C1B8: from=<administrator@mydebianserver.localdomain>, size=334, nrcpt=1 (queue active)
  9. Nov 15 10:19:46 mydebianserver postfix/smtp[21588]: 99DA819C1B8: to=<i_substitudeted_my_real_addr@somedomain_i_own.com>, relay=none, delay=0.45, delays=0.45/0/0/0, dsn=5.4.6, status=bounced (mail for somedomain_i_own.com loops back to myself)
  10. Nov 15 10:19:46 mydebianserver postfix/cleanup[21586]: 0C7E519C1B9: message-id=<20111115161946.0C7E519C1B9@mydebianserver.localdomain>
  11. Nov 15 10:19:46 mydebianserver postfix/bounce[21589]: 99DA819C1B8: sender non-delivery notification: 0C7E519C1B9
  12. Nov 15 10:19:46 mydebianserver postfix/qmgr[19632]: 0C7E519C1B9: from=<>, size=2243, nrcpt=1 (queue active)
  13. Nov 15 10:19:46 mydebianserver postfix/qmgr[19632]: 99DA819C1B8: removed
  14. Nov 15 10:19:46 mydebianserver postfix/local[21590]: 0C7E519C1B9: to=<administrator@mydebianserver.localdomain>, relay=local, delay=0.13, delays=0.07/0/0/0.07, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
  15. Nov 15 10:19:46 mydebianserver postfix/qmgr[19632]: 0C7E519C1B9: removed
  16.  
  17. --------------------------------------------------------------------------------------------------------------------------
  18. -- showing the most recent output from "sudo egrep '(warning|error|fatal|panic):' /var/log/mail.log | more" (the others are sure to be fixed already):
  19. --------------------------------------------------------------------------------------------------------------------------
  20. Nov 15 10:19:13 mydebianserver postfix/local[21590]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
  21.  
  22. --------------------------------------------------------------------------------------------------------------------------
  23. -- did "/usr/sbin/sendmail -bv i_substitudeted_my_real_addr@somedomain_i_own.com" and checked <root>'s mail:
  24. --------------------------------------------------------------------------------------------------------------------------
  25. Message XXXX:
  26. From MAILER-DAEMON  Tue Nov 15 10:11:25 2011
  27. X-Original-To: administrator@mydebianserver.localdomain
  28. Date: Tue, 15 Nov 2011 10:11:25 -0600 (CST)
  29. From: MAILER-DAEMON@mydebianserver.localdomain (Mail Delivery System)
  30. Subject: Undelivered Mail Returned to Sender
  31. To: administrator@mydebianserver.localdomain
  32. Auto-Submitted: auto-replied
  33. MIME-Version: 1.0
  34. Content-Type: multipart/report; report-type=delivery-status;
  35.        boundary="7B2CB19C1B8.1321373485/mydebianserver.localdomain"
  36.  
  37. This is a MIME-encapsulated message.
  38.  
  39. --7B2CB19C1B8.1321373485/mydebianserver.localdomain
  40. Content-Description: Notification
  41. Content-Type: text/plain; charset=us-ascii
  42.  
  43. This is the mail system at host mydebianserver.localdomain.
  44.  
  45. I'm sorry to have to inform you that your message could not
  46. be delivered to one or more recipients. It's attached below.
  47.  
  48. For further assistance, please send mail to postmaster.
  49.  
  50. If you do so, please include this problem report. You can
  51. delete your own text from the attached returned message.
  52.  
  53.                   The mail system
  54.  
  55. <i_substitudeted_my_real_addr@somedomain_i_own.com>: mail for somedomain_i_own.com loops back to
  56.    myself
  57.  
  58. --7B2CB19C1B8.1321373485/mydebianserver.localdomain
  59. Content-Description: Delivery report
  60. Content-Type: message/delivery-status
  61.  
  62. Reporting-MTA: dns; mydebianserver.localdomain
  63. X-Postfix-Queue-ID: 7B2CB19C1B8
  64. X-Postfix-Sender: rfc822; administrator@mydebianserver.localdomain
  65. Arrival-Date: Tue, 15 Nov 2011 10:11:25 -0600 (CST)
  66.  
  67. Final-Recipient: rfc822; i_substitudeted_my_real_addr@somedomain_i_own.com
  68. Action: failed
  69. Status: 5.4.6
  70. Diagnostic-Code: X-Postfix; mail for somedomain_i_own.com loops back to myself
  71.  
  72. --7B2CB19C1B8.1321373485/mydebianserver.localdomain
  73. Content-Description: Undelivered Message
  74. Content-Type: message/rfc822
  75.  
  76. Return-Path: <administrator@mydebianserver.localdomain>
  77. Received: by mydebianserver.localdomain (Postfix, from userid 1000)
  78.        id 7B2CB19C1B8; Tue, 15 Nov 2011 10:11:25 -0600 (CST)
  79. To: i_substitudeted_my_real_addr@somedomain_i_own.com
  80. Message-Id: <20111115161125.7B2CB19C1B8@mydebianserver.localdomain>
  81. Date: Tue, 15 Nov 2011 10:11:25 -0600 (CST)
  82. From: administrator@mydebianserver.localdomain (administrator)
  83.  
  84. test
  85.  
  86. --7B2CB19C1B8.1321373485/mydebianserver.localdomain--
  87.  
  88.  
  89.  
  90. --------------------------------------------------------------------------------------------------------------------------
  91. -- showing a bit of /etc/postfix/master.cf (I use port 25000 because port 25 is used by other):
  92. --------------------------------------------------------------------------------------------------------------------------
  93.  
  94. # ==========================================================================
  95. # service type  private unpriv  chroot  wakeup  maxproc command + args
  96. #               (yes)   (yes)   (yes)   (never) (100)
  97. # ==========================================================================
  98. #smtp      inet  n       -       -       -       -       smtpd
  99. 25000   inet    n       -       -       -       -       smtpd
  100.  
  101.  
  102.  
  103. --------------------------------------------------------------------------------------------------------------------------
  104. "tcpdump -w file.out -s 0 host somedomain_i_own.com and port 25000":
  105. --------------------------------------------------------------------------------------------------------------------------
  106.  
  107. tcpdump: listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
  108. ^C0 packets captured
  109. 4 packets received by filter
  110. 0 packets dropped by kernel
Add Comment
Please, Sign In to add comment