SHARE
TWEET

Untitled

a guest Mar 20th, 2018 5 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ postconf -nf
  2. alias_database = hash:/etc/aliases
  3. alias_maps = hash:/etc/aliases
  4. append_dot_mydomain = no
  5. biff = no
  6. broken_sasl_auth_clients = yes
  7. compatibility_level = 2
  8. home_mailbox = Maildir/
  9. inet_interfaces = all
  10. inet_protocols = all
  11. mailbox_size_limit = 0
  12. mydestination = mail.mo******.***, mail.mo******.***,
  13.     localhost.localdomain, localhost
  14. myhostname = mail.morsecode.tech
  15. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.34.***.***/32
  16. myorigin = /etc/mailname
  17. readme_directory = no
  18. recipient_delimiter = +
  19. relayhost =
  20. smtp_tls_note_starttls_offer = yes
  21. smtp_tls_security_level = may
  22. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  23. smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  24. smtpd_recipient_restrictions =
  25.     \permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
  26. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated
  27.     defer_unauth_destination
  28. smtpd_sasl_auth_enable = yes
  29. smtpd_sasl_local_domain =
  30. smtpd_sasl_path = private/auth
  31. smtpd_sasl_security_options = noanonymous
  32. smtpd_sasl_type = dovecot
  33. smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
  34. smtpd_tls_cert_file = /etc/ssl/certs/server.crt
  35. smtpd_tls_key_file = /etc/ssl/private/server.key
  36. smtpd_tls_loglevel = 1
  37. smtpd_tls_received_header = yes
  38. smtpd_tls_security_level = may
  39. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  40. smtpd_use_tls = yes
  41.  
  42. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  43.  
  44. $ postconf -Mf
  45. smtp       inet  n       -       y       -       -       smtpd
  46. pickup     unix  n       -       y       60      1       pickup
  47. cleanup    unix  n       -       y       -       0       cleanup
  48. qmgr       unix  n       -       n       300     1       qmgr
  49. tlsmgr     unix  -       -       y       1000?   1       tlsmgr
  50. rewrite    unix  -       -       y       -       -       trivial-rewrite
  51. bounce     unix  -       -       y       -       0       bounce
  52. defer      unix  -       -       y       -       0       bounce
  53. trace      unix  -       -       y       -       0       bounce
  54. verify     unix  -       -       y       -       1       verify
  55. flush      unix  n       -       y       1000?   0       flush
  56. proxymap   unix  -       -       n       -       -       proxymap
  57. proxywrite unix  -       -       n       -       1       proxymap
  58. smtp       unix  -       -       y       -       -       smtp
  59. relay      unix  -       -       y       -       -       smtp
  60. showq      unix  n       -       y       -       -       showq
  61. error      unix  -       -       y       -       -       error
  62. retry      unix  -       -       y       -       -       error
  63. discard    unix  -       -       y       -       -       discard
  64. local      unix  -       n       n       -       -       local
  65. virtual    unix  -       n       n       -       -       virtual
  66. lmtp       unix  -       -       y       -       -       lmtp
  67. anvil      unix  -       -       y       -       1       anvil
  68. scache     unix  -       -       y       -       1       scache
  69. maildrop   unix  -       n       n       -       -       pipe flags=DRhu
  70.     user=vmail argv=/usr/bin/maildrop -d ${recipient}
  71. uucp       unix  -       n       n       -       -       pipe flags=Fqhu
  72.     user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  73. ifmail     unix  -       n       n       -       -       pipe flags=F user=ftn
  74.     argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  75. bsmtp      unix  -       n       n       -       -       pipe flags=Fq.
  76.     user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  77. scalemail-backend unix - n       n       -       2       pipe flags=R
  78.     user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop}
  79.     ${user} ${extension}
  80. mailman    unix  -       n       n       -       -       pipe flags=FR
  81.     user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop}
  82.     ${user}
  83. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  84.  
  85. #######/SENDING MAIL TO SERVER VIA THUNDERBIRD AND GMAIL/################
  86.  
  87. $ sudo cat /var/log/mail.log
  88. Mar 20 19:51:09 morse-coding-tech postfix/smtpd[9255]: connect from mail-qk0-f174.google.com[209.85.220.174]
  89. Mar 20 19:51:09 morse-coding-tech postfix/smtpd[9255]: Anonymous TLS connection established from mail-qk0-f174.google.com[209.85.220.174]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
  90. Mar 20 19:51:09 morse-coding-tech postfix/smtpd[9255]: NOQUEUE: reject: RCPT from mail-qk0-f174.google.com[209.85.220.174]: 454 4.7.1 <justin@morsecode.tech>: Relay access denied; from=<morsecodepython@gmail.com> to=<justin@morsecode.tech> proto=ESMTP helo=<mail-qk0-f174.google.com>
  91. Mar 20 19:51:09 morse-coding-tech postfix/smtpd[9255]: disconnect from mail-qk0-f174.google.com[209.85.220.174] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 quit=1 commands=5/7
  92. Mar 20 19:54:29 morse-coding-tech postfix/anvil[9257]: statistics: max connection rate 1/60s for (smtp:209.85.220.174) at Mar 20 19:51:09
  93. Mar 20 19:54:29 morse-coding-tech postfix/anvil[9257]: statistics: max connection count 1 for (smtp:209.85.220.174) at Mar 20 19:51:09
  94. Mar 20 19:54:29 morse-coding-tech postfix/anvil[9257]: statistics: max cache size 1 at Mar 20 19:51:09
  95.  
  96. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  97.  
  98. ######/SENDING MAIL FROM SERVER VIA THUNDERBIRD/###############
  99.  
  100. $ sudo cat /var/log/mail.log
  101. Mar 20 22:30:41 morse-coding-tech dovecot: imap-login: Login: user=<justin>, method=PLAIN, rip=71.200.***.***, lip=192.34.***.***, mpid=9708, TLS, session=<UqHgn99n9zZHyLCP>
  102. Mar 20 22:30:43 morse-coding-tech dovecot: imap-login: Login: user=<justin>, method=PLAIN, rip=71.200.***.***, lip=192.34.***.***, mpid=9710, TLS, session=<U/H7n99n+TZHyLCP>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top