{"action":"created","issue":{"url":"https://api.github.com/repos/haraka/Haraka/issues/1539","repository_url":"https://api.github.com/repos/haraka/Haraka","labels_url":"https://api.github.com/repos/haraka/Haraka/issues/1539/labels{/name}","comments_url":"https://api.github.com/repos/haraka/Haraka/issues/1539/comments","events_url":"https://api.github.com/repos/haraka/Haraka/issues/1539/events","html_url":"https://github.com/haraka/Haraka/issues/1539","id":165589181,"number":1539,"title":"SSL error: Wrong Version number","user":{"login":"collinglass","id":3614712,"avatar_url":"https://avatars.githubusercontent.com/u/3614712?v=3","gravatar_id":"","url":"https://api.github.com/users/collinglass","html_url":"https://github.com/collinglass","followers_url":"https://api.github.com/users/collinglass/followers","following_url":"https://api.github.com/users/collinglass/following{/other_user}","gists_url":"https://api.github.com/users/collinglass/gists{/gist_id}","starred_url":"https://api.github.com/users/collinglass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collinglass/subscriptions","organizations_url":"https://api.github.com/users/collinglass/orgs","repos_url":"https://api.github.com/users/collinglass/repos","events_url":"https://api.github.com/users/collinglass/events{/privacy}","received_events_url":"https://api.github.com/users/collinglass/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-14T15:26:51Z","updated_at":"2016-07-15T13:19:12Z","closed_at":null,"body":"### Haraka version\r\n2.8.7\r\n\r\n### Expected behavior\r\nI attempt to blast a weekly newsletter of 10,000 emails.\r\n\r\n### Observed behavior\r\nMy haraka server crashed after 248 emails sent.\r\n\r\nHere are the logs:\r\n\r\n[DEBUG] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] running ehlo hooks\r\n[DEBUG] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] running capabilities hooks\r\n[DEBUG] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] running capabilities hook in tls plugin\r\n[DEBUG] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] hook=capabilities plugin=tls function=tls_capabilities params=\"\" retval=CONT msg=\"\"\r\n[DEBUG] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] running capabilities hook in auth/flat_file plugin\r\n[DEBUG] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [auth/flat_file] Auth disabled for insecure public connection\r\n[DEBUG] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] hook=capabilities plugin=auth/flat_file function=hook_capabilities params=\"\" retval=CONT msg=\"\"\r\n[PROTOCOL] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] S: 250-saas-smbsoftware.com Hello ns523489.ip-158-69-227.net [158.69.227.22], Haraka is at your service.\r\n[PROTOCOL] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] S: 250-PIPELINING\r\n[PROTOCOL] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] S: 250-8BITMIME\r\n[PROTOCOL] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] S: 250-SIZE 0\r\n[PROTOCOL] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] S: 250 STARTTLS\r\n[PROTOCOL] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] C: STARTTLS state=1\r\n[DEBUG] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] running unrecognized_command hooks\r\n[DEBUG] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] running unrecognized_command hook in tls plugin\r\n[PROTOCOL] [1A0D0D21-F659-4ACE-9615-9467BA64E2ED] [core] S: 220 Go ahead.\r\n[DEBUG] [-] [core] Upgrading to TLS\r\n[CRIT] [-] [core] Error: 139650710751040:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:s3_pkt.c:362:\r\n[CRIT] [-] [core]\r\n[CRIT] [-] [core]     at SlabBuffer.use (tls.js:232:18)\r\n[CRIT] [-] [core]     at CleartextStream.read [as _read] (tls.js:452:29)\r\n[CRIT] [-] [core]     at CleartextStream.Readable.read (_stream_readable.js:320:10)\r\n[CRIT] [-] [core]     at EncryptedStream.write [as _write] (tls.js:366:25)\r\n[CRIT] [-] [core]     at doWrite (_stream_writable.js:223:10)\r\n[CRIT] [-] [core]     at writeOrBuffer (_stream_writable.js:213:5)\r\n[CRIT] [-] [core]     at EncryptedStream.Writable.write (_stream_writable.js:180:11)\r\n[CRIT] [-] [core]     at Socket.ondata (stream.js:51:26)\r\n[CRIT] [-] [core]     at Socket.EventEmitter.emit (events.js:95:17)\r\n[CRIT] [-] [core]     at Socket.<anonymous> (_stream_readable.js:746:14)\r\n[CRIT] [-] [core]     at Socket.EventEmitter.emit (events.js:92:17)\r\n[CRIT] [-] [core]     at emitReadable_ (_stream_readable.js:408:10)\r\n[NOTICE] [-] [core] Shutting down\r\n\r\n### Steps to reproduce\r\n\r\nFrom a brand new ubuntu install I run the follow:\r\n\r\n    sudo apt-get -y update\r\n    sudo apt-get -y upgrade\r\n    sudo apt-get -y install swaks nodejs npm opendkim opendkim-tools\r\n    sudo ln -s /usr/bin/nodejs /usr/bin/node\r\n    sudo npm install -g Haraka\r\n\r\n    haraka -i outbound\r\n\r\nadd config files to config/\r\n\r\n    echo \"[core]\r\n    methods=PLAIN,LOGIN,CRAM-MD5\r\n\r\n    [users]\r\n    yolo@haraka.test=yoloyolo1\" > outbound/config/auth_flat_file.ini\r\n\r\n    echo \"disabled = false\r\n    selector = jul2016._domainkey\r\n    domain = example.com\r\n    headers_to_sign = From, Sender, Reply-To, Subject, Date, Message-ID, To, Cc, MIME-Version\" > outbound/config/dkim_sign.ini\r\n\r\n    echo \"tls\r\n    auth/flat_file\r\n    dkim_sign\" > outbound/config/plugins\r\n\r\n    echo \"listen=[::0]:587\r\n    daemonize=true\r\n    daemon_pid_file=/var/run/outbound.pid\" > outbound/config/smtp.ini\r\n\r\nRun these commands from HOME ~/\r\n\r\n    sudo opendkim-genkey -s mail -d example.com\r\n    sh ~/outbound/config/dkim/dkim_key_gen.sh example.com\r\n    openssl req -x509 -nodes -days 2190 -newkey rsa:2048 -keyout outbound/config/tls_key.pem -out outbound/config/tls_cert.pem\r\n    mv example. outbound/config/dkim/\r\n\r\ncopy info inside ~/outbound/config/dkim/example.com/dns into DKIM DNS\r\n\r\n    haraka -c ."},"comment":{"url":"https://api.github.com/repos/haraka/Haraka/issues/comments/232948499","html_url":"https://github.com/haraka/Haraka/issues/1539#issuecomment-232948499","issue_url":"https://api.github.com/repos/haraka/Haraka/issues/1539","id":232948499,"user":{"login":"Dexus","id":1674289,"avatar_url":"https://avatars.githubusercontent.com/u/1674289?v=3","gravatar_id":"","url":"https://api.github.com/users/Dexus","html_url":"https://github.com/Dexus","followers_url":"https://api.github.com/users/Dexus/followers","following_url":"https://api.github.com/users/Dexus/following{/other_user}","gists_url":"https://api.github.com/users/Dexus/gists{/gist_id}","starred_url":"https://api.github.com/users/Dexus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dexus/subscriptions","organizations_url":"https://api.github.com/users/Dexus/orgs","repos_url":"https://api.github.com/users/Dexus/repos","events_url":"https://api.github.com/users/Dexus/events{/privacy}","received_events_url":"https://api.github.com/users/Dexus/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T13:19:12Z","updated_at":"2016-07-15T13:19:12Z","body":"https://ssl-tools.net/mailservers/saas-smbsoftware.com\r\nsaid no startssl support / invalide response.\r\n\r\nns523489.ip-158-69-227.net rejects connections.\r\n\r\nIt looks like you don't have enabled ssl/tls correct.\r\nCan you please send also infos about your current node version?"}}
{"actor":{"display_login":"Dexus"}}