Advertisement
Guest User

Untitled

a guest
Aug 7th, 2017
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. # echo -e "ehlo eschelon.co.uk\nauth login\nbWNwQGVzY2hlbG9uLmNvLnVr\nSANITISED\nmail from: mcp@eschelon.co.uk\nrcpt to: <PRIVATEEMAIL>\ndata\nSubject: testing Auth SMTP\ntesting 123\n.\nnquit\n" | nc localhost 25
  2. 220 auth-smtp-01.streamline.net ESMTP Postfix
  3. 250-auth-smtp-01.streamline.net
  4. 250-PIPELINING
  5. 250-SIZE 10240000
  6. 250-VRFY
  7. 250-ETRN
  8. 250-AUTH PLAIN LOGIN
  9. 250-AUTH=PLAIN LOGIN
  10. 250-ENHANCEDSTATUSCODES
  11. 250-8BITMIME
  12. 250 DSN
  13. 334 VXNlcm5hbWU6
  14. 334 UGFzc3dvcmQ6
  15. 235 2.0.0 Authentication successful
  16. 250 2.1.0 Ok
  17. 553 5.7.1 <mcp@eschelon.co.uk>: Sender address rejected: not owned by user mcp@eschelon.co.uk
  18. 554 5.5.1 Error: no valid recipients
  19. 221 2.7.0 Error: I can break rules, too. Goodbye.
  20.  
  21.  
  22. from /var/log/maillog:
  23.  
  24. Mar 30 13:20:29 auth-smtp-01 postfix/smtpd[21629]: connect from unknown[213.171.217.184]
  25. Mar 30 13:20:30 auth-smtp-01 postfix/smtpd[21629]: NOQUEUE: reject: RCPT from unknown[213.171.217.184]: 553 5.7.1 <mcp@eschelon.co.uk>: Sender address rejected: not owned by user mcp@eschelon.co.uk; from=<mcp@eschelon.co.uk> to=<tomofboellan@gmail.com> proto=ESMTP helo=<eschelon.co.uk>
  26.  
  27.  
  28. [root@auth-smtp-01 ~]# postconf -n
  29. alias_database = hash:/etc/aliases
  30. alias_maps = hash:/etc/aliases
  31. broken_sasl_auth_clients = yes
  32. command_directory = /usr/sbin
  33. config_directory = /etc/postfix
  34. daemon_directory = /usr/libexec/postfix
  35. debug_peer_level = 2
  36. html_directory = no
  37. inet_interfaces = all
  38. mail_owner = postfix
  39. mailq_path = /usr/bin/mailq.postfix
  40. manpage_directory = /usr/share/man
  41. mydestination = $myhostname, localhost.$mydomain, localhost
  42. newaliases_path = /usr/bin/newaliases.postfix
  43. queue_directory = /var/spool/postfix
  44. readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
  45. sample_directory = /usr/share/doc/postfix-2.3.3/samples
  46. sendmail_path = /usr/sbin/sendmail.postfix
  47. setgid_group = postdrop
  48. smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject
  49. smtpd_sasl_auth_enable = yes
  50. smtpd_sasl_path = smtpd
  51. smtpd_sender_restrictions = reject_authenticated_sender_login_mismatch
  52. unknown_local_recipient_reject_code = 550
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement