Advertisement
Guest User

184

a guest
May 12th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.01 KB | None | 0 0
  1. [test@ns1 ~]$ echo "Subject: sendmail test" | sendmail -v test@host1
  2. test@host1... Connecting to [127.0.0.1] via relay...
  3. 220 ns1.nyc3.example.com ESMTP Sendmail 8.14.7/8.14.7; Sun, 12 May 2019 12:22:36 -0400
  4. >>> EHLO ns1.nyc3.example.com
  5. 250-ns1.nyc3.example.com Hello localhost [127.0.0.1], pleased to meet you
  6. 250-ENHANCEDSTATUSCODES
  7. 250-PIPELINING
  8. 250-8BITMIME
  9. 250-SIZE
  10. 250-DSN
  11. 250-ETRN
  12. 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
  13. 250-DELIVERBY
  14. 250 HELP
  15. >>> MAIL From:<test@ns1.nyc3.example.com> SIZE=23 AUTH=test@ns1.nyc3.example.com
  16. 250 2.1.0 <test@ns1.nyc3.example.com>... Sender ok
  17. >>> RCPT To:<test@host1.nyc3.example.com>
  18. >>> DATA
  19. 250 2.1.5 <test@host1.nyc3.example.com>... Recipient ok
  20. 354 Enter mail, end with "." on a line by itself
  21. >>> .
  22. 250 2.0.0 x4CGMaet014271 Message accepted for delivery
  23. test@host1... Sent (x4CGMaet014271 Message accepted for delivery)
  24. Closing connection to [127.0.0.1]
  25. >>> QUIT
  26. 221 2.0.0 ns1.nyc3.example.com closing connection
  27. [test@ns1 ~]$
  28. [test@ns1 ~]$
  29. [test@ns1 ~]$
  30. [test@ns1 ~]$
  31. [test@ns1 ~]$
  32. [test@ns1 ~]$
  33. [test@ns1 ~]$
  34. [test@ns1 ~]$
  35. [test@ns1 ~]$ echo "Subject: sendmail test" | sendmail -v test@host2
  36. test@host2... Connecting to [127.0.0.1] via relay...
  37. 220 ns1.nyc3.example.com ESMTP Sendmail 8.14.7/8.14.7; Sun, 12 May 2019 12:22:42 -0400
  38. >>> EHLO ns1.nyc3.example.com
  39. 250-ns1.nyc3.example.com Hello localhost [127.0.0.1], pleased to meet you
  40. 250-ENHANCEDSTATUSCODES
  41. 250-PIPELINING
  42. 250-8BITMIME
  43. 250-SIZE
  44. 250-DSN
  45. 250-ETRN
  46. 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
  47. 250-DELIVERBY
  48. 250 HELP
  49. >>> MAIL From:<test@ns1.nyc3.example.com> SIZE=23 AUTH=test@ns1.nyc3.example.com
  50. 250 2.1.0 <test@ns1.nyc3.example.com>... Sender ok
  51. >>> RCPT To:<test@host2.nyc3.example.com>
  52. >>> DATA
  53. 250 2.1.5 <test@host2.nyc3.example.com>... Recipient ok
  54. 354 Enter mail, end with "." on a line by itself
  55. >>> .
  56. 250 2.0.0 x4CGMgah014276 Message accepted for delivery
  57. test@host2... Sent (x4CGMgah014276 Message accepted for delivery)
  58. Closing connection to [127.0.0.1]
  59. >>> QUIT
  60. 221 2.0.0 ns1.nyc3.example.com closing connection
  61. [test@ns1 ~]$
  62. [test@ns1 ~]$
  63. [test@ns1 ~]$ echo "Subject: sendmail test" | sendmail -v test@ns1
  64. test@ns1... Connecting to [127.0.0.1] via relay...
  65. 220 ns1.nyc3.example.com ESMTP Sendmail 8.14.7/8.14.7; Sun, 12 May 2019 12:22:48 -0400
  66. >>> EHLO ns1.nyc3.example.com
  67. 250-ns1.nyc3.example.com Hello localhost [127.0.0.1], pleased to meet you
  68. 250-ENHANCEDSTATUSCODES
  69. 250-PIPELINING
  70. 250-8BITMIME
  71. 250-SIZE
  72. 250-DSN
  73. 250-ETRN
  74. 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
  75. 250-DELIVERBY
  76. 250 HELP
  77. >>> MAIL From:<test@ns1.nyc3.example.com> SIZE=23 AUTH=test@ns1.nyc3.example.com
  78. 250 2.1.0 <test@ns1.nyc3.example.com>... Sender ok
  79. >>> RCPT To:<test@ns1.nyc3.example.com>
  80. >>> DATA
  81. 250 2.1.5 <test@ns1.nyc3.example.com>... Recipient ok
  82. 354 Enter mail, end with "." on a line by itself
  83. >>> .
  84. 250 2.0.0 x4CGMm3B014281 Message accepted for delivery
  85. test@ns1... Sent (x4CGMm3B014281 Message accepted for delivery)
  86. Closing connection to [127.0.0.1]
  87. >>> QUIT
  88. 221 2.0.0 ns1.nyc3.example.com closing connection
  89. [test@ns1 ~]$
  90. [test@ns1 ~]$
  91. [test@ns1 ~]$ echo "Subject: sendmail test" | sendmail -v test@ns2
  92. test@ns2... Connecting to [127.0.0.1] via relay...
  93. 220 ns1.nyc3.example.com ESMTP Sendmail 8.14.7/8.14.7; Sun, 12 May 2019 12:22:51 -0400
  94. >>> EHLO ns1.nyc3.example.com
  95. 250-ns1.nyc3.example.com Hello localhost [127.0.0.1], pleased to meet you
  96. 250-ENHANCEDSTATUSCODES
  97. 250-PIPELINING
  98. 250-8BITMIME
  99. 250-SIZE
  100. 250-DSN
  101. 250-ETRN
  102. 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
  103. 250-DELIVERBY
  104. 250 HELP
  105. >>> MAIL From:<test@ns1.nyc3.example.com> SIZE=23 AUTH=test@ns1.nyc3.example.com
  106. 250 2.1.0 <test@ns1.nyc3.example.com>... Sender ok
  107. >>> RCPT To:<test@ns2.nyc3.example.com>
  108. >>> DATA
  109. 250 2.1.5 <test@ns2.nyc3.example.com>... Recipient ok
  110. 354 Enter mail, end with "." on a line by itself
  111. >>> .
  112. 250 2.0.0 x4CGMpfb014286 Message accepted for delivery
  113. test@ns2... Sent (x4CGMpfb014286 Message accepted for delivery)
  114. Closing connection to [127.0.0.1]
  115. >>> QUIT
  116. 221 2.0.0 ns1.nyc3.example.com closing connection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement