Guest User

Untitled

a guest
Apr 8th, 2018
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. #######################################################################
  2. ### Mail:
  3. #######################################################################
  4. Return-Path: <user@example.com>
  5. Delivered-To: user@example.com
  6. Received: from example.com (localhost [127.0.0.1])
  7. by mail.example.com (Postfix) with SMTP id 8DCC9F900A
  8. for <user@example.com>; Fri, 30 Mar 2018 23:31:21 +0300 (MSK)
  9. Subject: test mail
  10. Message-Id: <20180330203129.8DCC9F900A@mail.example.com>
  11. Date: Fri, 30 Mar 2018 23:31:21 +0300 (MSK)
  12. From: user@example.com
  13.  
  14. Test mail body
  15. .
  16.  
  17. #######################################################################
  18. ### maillog
  19. #######################################################################
  20. Mar 30 23:30:50 mail postfix/postfix-script[2003]: starting the Postfix mail system
  21. Mar 30 23:30:50 mail postfix/master[2005]: daemon started -- version 2.10.1, configuration /etc/postfix
  22. Mar 30 23:31:02 mail postfix/postscreen[2011]: CONNECT from [127.0.0.1]:33460 to [127.0.0.1]:25
  23. Mar 30 23:31:02 mail postfix/postscreen[2011]: WHITELISTED [127.0.0.1]:33460
  24. Mar 30 23:31:02 mail postfix/smtpd[2012]: connect from localhost[127.0.0.1]
  25. Mar 30 23:31:29 mail postfix/smtpd[2012]: 8DCC9F900A: client=localhost[127.0.0.1]
  26. Mar 30 23:31:43 mail postfix/cleanup[2017]: 8DCC9F900A: message-id=<20180330203129.8DCC9F900A@mail.example.com>
  27. Mar 30 23:31:43 mail postfix/qmgr[2007]: 8DCC9F900A: from=<user@example.com>, size=337, nrcpt=1 (queue active)
  28. Mar 30 23:31:43 mail postfix/pipe[2019]: 8DCC9F900A: to=<user@example.com>, relay=dovecot, delay=22, delays=22/0.01/0/0.04, dsn=2.0.0, status=sent (delivered via dovecot service)
  29. Mar 30 23:31:43 mail postfix/qmgr[2007]: 8DCC9F900A: removed
  30. Mar 30 23:32:18 mail postfix/smtpd[2012]: disconnect from localhost[127.0.0.1]
  31.  
  32. #######################################################################
  33. ### CLI send
  34. #######################################################################
  35. [root@mail ~]# nc 127.1 25
  36. 220 mail.example.com ESMTP Postfix
  37. helo example.com
  38. 250 mail.example.com
  39. mail from: user@example.com
  40. 250 2.1.0 Ok
  41. rcpt to: user@example.com
  42. 250 2.1.5 Ok
  43. data
  44. 354 End data with <CR><LF>.<CR><LF>
  45. Subject: test mail
  46. Test mail body
  47. .
  48. 250 2.0.0 Ok: queued as 8DCC9F900A
  49.  
  50. #######################################################################
  51. ### CLI Receive
  52. #######################################################################
  53.  
  54. [root@mail ~]# nc 127.1 110
  55. +OK Dovecot ready.
  56. user user@example.com
  57. +OK
  58. pass P@ssw0rd
  59. +OK Logged in.
  60. list
  61. +OK 3 messages:
  62. 1 1657
  63. 2 1391
  64. 3 402
  65. .
  66. retr 3
  67. +OK 402 octets
  68. Return-Path: <user@example.com>
  69. Delivered-To: user@example.com
  70. Received: from example.com (localhost [127.0.0.1])
  71. by mail.example.com (Postfix) with SMTP id 8DCC9F900A
  72. for <user@example.com>; Fri, 30 Mar 2018 23:31:21 +0300 (MSK)
  73. Subject: test mail
  74. Message-Id: <20180330203129.8DCC9F900A@mail.example.com>
  75. Date: Fri, 30 Mar 2018 23:31:21 +0300 (MSK)
  76. From: user@example.com
  77.  
  78. Test mail body
  79. .
Add Comment
Please, Sign In to add comment