celesteking
celesteking
3. I also urge you to watch this video https://www.youtube.com/watch?v=LKP-PUAI96U , which is based on the same grounds and following the same ideas as expressed in 1) and 2).
The project has reached its apogee. There's just nowhere to move further.
What daemontools? We're Enterprise with RHEL. Serious business, not some ubuntu toy.
Running Haraka under root is an extremely bad idea. You might want [to use setcap](https://gist.github.com/firstdoit/6389682) to allow it bind to priveleged ports. Update: actually realized that guide suggests running it...
That's because clamd plugin times out before socket connection has the chance to timeout. https://github.com/haraka/Haraka/blob/master/plugins/clamd.js#L104-L105 `connect_timeout + whatever_time_to_send_data + timeout < plugin_timeout` `10 + ?? + 30 < 30` FAIL...
Thinking further, maybe karma's `deny(soft?) overriden by deny hook` was the culprit?
What if you try reading from attachment `stream` as explained in https://haraka.github.io/manual/Transaction.html , that is, via `pipe` mechanism? Will you get the same results?
Need a sample message to replicate or a test email. Let's close this otherwise.
Well this is one mess of a code. I spent 1 hr debugging and trying to understand all this and it seems like https://github.com/haraka/Haraka/blob/master/tls_socket.js#L64 is never fired. In both cases...
Thinking this further, if some mechs fail and others succeed, shouldn't we consider it a success instead of temperror or whatever? What is some lookups inside a mech fail, but...