SHARE
TWEET

Untitled

a guest May 6th, 2012 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /etc/postfix/postfix.conf:
  2.  
  3. smtpd_sasl_type = dovecot
  4. smtpd_sasl_path = private/auth
  5. smtpd_sasl_auth_enable = yes
  6. smtpd_sasl_local_domain = $mydomain
  7. broken_sasl_auth_clients = yes
  8. smtp_tls_security_level = may
  9. smtp_tls_note_starttls_offer = yes
  10. smtpd_tls_security_level = may
  11. smtpd_tls_key_file = /etc/ssl/keys/postfix.key
  12. smtpd_tls_cert_file = /etc/ssl/certs/postfix.crt
  13. smtpd_tls_CAfile = /etc/ssl/certs/ca.crt
  14. smtpd_tls_loglevel = 1
  15. tls_random_source = dev:/dev/urandom
  16.  
  17. smtpd_recipient_restrictions =
  18.  permit_mynetworks,
  19.  permit_sasl_authenticated,
  20.  reject_unauth_destination,
  21.  permit
  22.  
  23. openssl s_client -connect mail.mynet.ex:25 -starttls smtp
  24. 250 DSN
  25. EHLO mynet.ex
  26. 250-mail.mynet.ex
  27. 250-PIPELINING
  28. 250-SIZE 10240000
  29. 250-VRFY
  30. 250-ETRN
  31. 250-AUTH PLAIN LOGIN
  32. 250-AUTH=PLAIN LOGIN
  33. 250-ENHANCEDSTATUSCODES
  34. 250-9BITMIME
  35. 250 DSN
  36. MAIL FROM:<root@mynet.ex>
  37. 250 2.1.0 Ok
  38. RCPT TO:<mailuser@mynet.ex>
  39. RENEGOTIATING
  40. 139996834518696:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:s3_pkt.c:340
  41.  
  42.  
  43.  
  44. /var/log/mail.log:
  45.  
  46. www.mynet.ex postfix/smtpd[21806]: connect from unknown[10.0.0.1]
  47. www.mynet.ex dovecot: auth: Debug: auth client connected (pid=0)
  48. blished from unknown[10.0.0.1]:TLSv1.2 with cipher ECDME-RSA-AES256-GCM-SHA384 (256/256 bits)
  49. postfix/smtpd[21806]: warning: TLS library problem:
  50.  21806:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:s3_pkt.c:340
  51. postfix/smtpd[21806]: lost connection after MAIL from unknown[10.0.0.1]
  52. postfix/smtpd[21806]: disconnect from unknown[10.0.0.1]
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