iRedmail SMTPS port 465 problem

Discussion in 'HOWTO-Related Questions' started by djtux2, Feb 17, 2011.

  1. djtux2

    djtux2 New Member

    Dear all ,i have configured iredmail, (beta2) but i have probems with SMTP over SSL (port 465) i have not problem port 587. (listen port 465, i have changed ssl files, and cert files)

    how can i solve this problem ? Thanks, Regards.

    master.cf

    smtps inet n - n - - smtpd
    -o smtpd_tls_wrappermode=yes
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_client_restrictions=permit_sasl_authenticated,reject

    main.cf

    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/ssl/private/iRedMail.key
    smtpd_tls_cert_file = /etc/ssl/certs/iRedMail_CA.pem
    smtpd_tls_CAfile = /etc/ssl/certs/iRedMail_CA.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    smtpd_enforce_tls = no
    tls_random_source = dev:/dev/urandom
    tls_daemon_random_source = dev:/dev/urandom
    smtpd_tls_security_level = may
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache



    Feb 17 10:16:04 gw postfix/smtpd[4677]: connect from unknown[10.10.1.1]
    Feb 17 10:16:04 gw postfix/smtpd[4677]: setting up TLS connection from unknown[10.10.1.1]
    Feb 17 10:16:04 gw postfix/smtpd[4677]: send attr request = seed
    Feb 17 10:16:04 gw postfix/smtpd[4677]: send attr size = 32
    Feb 17 10:16:04 gw postfix/smtpd[4677]: private/tlsmgr: wanted attribute: status
    Feb 17 10:16:04 gw postfix/smtpd[4677]: input attribute name: status
    Feb 17 10:16:04 gw postfix/smtpd[4677]: input attribute value: 0
    Feb 17 10:16:04 gw postfix/smtpd[4677]: private/tlsmgr: wanted attribute: seed
    Feb 17 10:16:04 gw postfix/smtpd[4677]: input attribute name: seed
    Feb 17 10:16:04 gw postfix/smtpd[4677]: input attribute value: NqlMVrP1em6gAOEqjaIsshz6sCTZ+oOhLAr2o/y0CY4=
    Feb 17 10:16:04 gw postfix/smtpd[4677]: private/tlsmgr: wanted attribute: (list terminator)
    Feb 17 10:16:04 gw postfix/smtpd[4677]: input attribute name: (end)
    Feb 17 10:16:04 gw postfix/smtpd[4677]: Anonymous TLS connection established from unknown[10.10.1.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Feb 17 10:16:04 gw postfix/smtpd[4677]: xsasl_dovecot_server_create: SASL service=smtp, realm=(null)
    Feb 17 10:16:04 gw postfix/smtpd[4677]: name_mask: noanonymous
    Feb 17 10:16:04 gw postfix/smtpd[4677]: xsasl_dovecot_server_connect: Connecting
    Feb 17 10:16:04 gw postfix/smtpd[4677]: xsasl_dovecot_server_connect: auth reply: MECH?PLAIN?plaintext
    Feb 17 10:16:04 gw postfix/smtpd[4677]: name_mask: plaintext
    Feb 17 10:16:04 gw postfix/smtpd[4677]: xsasl_dovecot_server_connect: auth reply: MECH?LOGIN?plaintext
    Feb 17 10:16:04 gw postfix/smtpd[4677]: name_mask: plaintext
    Feb 17 10:16:04 gw postfix/smtpd[4677]: xsasl_dovecot_server_connect: auth reply: VERSION?1?0
    Feb 17 10:16:04 gw postfix/smtpd[4677]: xsasl_dovecot_server_connect: auth reply: SPID?2552
    Feb 17 10:16:04 gw postfix/smtpd[4677]: xsasl_dovecot_server_connect: auth reply: CUID?23
    Feb 17 10:16:04 gw postfix/smtpd[4677]: xsasl_dovecot_server_connect: auth reply: DONE
    Feb 17 10:16:04 gw postfix/smtpd[4677]: xsasl_dovecot_server_mech_filter: keep mechanism: PLAIN
    Feb 17 10:16:04 gw postfix/smtpd[4677]: xsasl_dovecot_server_mech_filter: keep mechanism: LOGIN
    Feb 17 10:16:04 gw postfix/smtpd[4677]: match_hostname: unknown ~? 127.0.0.0/8
    Feb 17 10:16:04 gw postfix/smtpd[4677]: match_hostaddr: 10.10.1.1 ~? 127.0.0.0/8
    Feb 17 10:16:04 gw postfix/smtpd[4677]: match_hostname: unknown ~? 10.10.1.0/24
    Feb 17 10:16:04 gw postfix/smtpd[4677]: match_hostaddr: 10.10.1.1 ~? 10.10.1.0/24
    Feb 17 10:16:04 gw postfix/smtpd[4677]: > unknown[10.10.1.1]: 220 gw.test.org ESMTP Postfix (Debian/GNU)
    Feb 17 10:16:04 gw postfix/smtpd[4677]: watchdog_pat: 0x7fbb59f5f9d0
    Feb 17 10:16:05 gw postfix/smtpd[4677]: < unknown[10.10.1.1]: EHLO [192.168.1.124]
    Feb 17 10:16:05 gw postfix/smtpd[4677]: > unknown[10.10.1.1]: 250-gw.test.org
    Feb 17 10:16:05 gw postfix/smtpd[4677]: > unknown[10.10.1.1]: 250-PIPELINING
    Feb 17 10:16:05 gw postfix/smtpd[4677]: > unknown[10.10.1.1]: 250-SIZE 20240000
    Feb 17 10:16:05 gw postfix/smtpd[4677]: > unknown[10.10.1.1]: 250-ETRN
    Feb 17 10:16:05 gw postfix/smtpd[4677]: > unknown[10.10.1.1]: 250-AUTH PLAIN LOGIN
    Feb 17 10:16:05 gw postfix/smtpd[4677]: match_list_match: unknown: no match
    Feb 17 10:16:05 gw postfix/smtpd[4677]: match_list_match: 10.10.1.1: no match
    Feb 17 10:16:05 gw postfix/smtpd[4677]: > unknown[10.10.1.1]: 250-AUTH=PLAIN LOGIN
    Feb 17 10:16:05 gw postfix/smtpd[4677]: > unknown[10.10.1.1]: 250-ENHANCEDSTATUSCODES
    Feb 17 10:16:05 gw postfix/smtpd[4677]: > unknown[10.10.1.1]: 250-8BITMIME
    Feb 17 10:16:05 gw postfix/smtpd[4677]: > unknown[10.10.1.1]: 250 DSN
    Feb 17 10:16:05 gw postfix/smtpd[4677]: watchdog_pat: 0x7fbb59f5f9d0
    Feb 17 10:16:05 gw postfix/smtpd[4677]: < unknown[10.10.1.1]: AUTH PLAIN AGRlbmVtZUBtbW8ub3JnLnRyAHp4Y3Zibg==
    Feb 17 10:16:05 gw postfix/smtpd[4677]: xsasl_dovecot_server_first: sasl_method PLAIN, init_response AGRlbmVtZUBtbW8ub3JnLnRyAHp4Y3Zibg==
    Feb 17 10:16:07 gw postfix/smtpd[4677]: xsasl_dovecot_handle_reply: auth reply: FAIL?1?user=deneme@test.org
    Feb 17 10:16:07 gw postfix/smtpd[4677]: warning: unknown[10.10.1.1]: SASL PLAIN authentication failed:
    Feb 17 10:16:07 gw postfix/smtpd[4677]: > unknown[10.10.1.1]: 535 5.7.8 Error: authentication failed:
    Feb 17 10:16:07 gw postfix/smtpd[4677]: watchdog_pat: 0x7fbb59f5f9d0
    Feb 17 10:16:07 gw postfix/smtpd[4677]: < unknown[10.10.1.1]: AUTH LOGIN
    Feb 17 10:16:07 gw postfix/smtpd[4677]: xsasl_dovecot_server_first: sasl_method LOGIN
    Feb 17 10:16:07 gw postfix/smtpd[4677]: xsasl_dovecot_handle_reply: auth reply: CONT?2?VXNlcm5hbWU6
    Feb 17 10:16:07 gw postfix/smtpd[4677]: > unknown[10.10.1.1]: 334 VXNlcm5hbWU6
    Feb 17 10:16:07 gw postfix/smtpd[4677]: < unknown[10.10.1.1]: ZGVuZW1lQG1tby5vcmcudHI=
    Feb 17 10:16:07 gw postfix/smtpd[4677]: xsasl_dovecot_handle_reply: auth reply: CONT?2?UGFzc3dvcmQ6
    Feb 17 10:16:07 gw postfix/smtpd[4677]: > unknown[10.10.1.1]: 334 UGFzc3dvcmQ6
    Feb 17 10:16:07 gw postfix/smtpd[4677]: < unknown[10.10.1.1]: enhjdmJu
    Feb 17 10:16:09 gw postfix/smtpd[4677]: xsasl_dovecot_handle_reply: auth reply: FAIL?2?user=deneme@test.org
    Feb 17 10:16:09 gw postfix/smtpd[4677]: warning: unknown[10.10.1.1]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
    Feb 17 10:16:09 gw postfix/smtpd[4677]: > unknown[10.10.1.1]: 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6
    Feb 17 10:16:09 gw postfix/smtpd[4677]: watchdog_pat: 0x7fbb59f5f9d0
     

Share This Page