Giter Club home page Giter Club logo

Comments (5)

msimerson avatar msimerson commented on September 27, 2024

Authentication is not allowed unless the connection is secured. This is a design choice for security. Ways to handle this (from worse to better):

  1. disable the secure connection check in the authentication plug-in. This is a very bad idea, but it would work.
  2. upgrade your Java apps to use modern (and secure) TLS.
  3. Enable relaying for just those Java 8 apps by their IP address with the relay plugin. Then they don't need to AUTH.

from haraka.

thenitai avatar thenitai commented on September 27, 2024

Authentication is not allowed unless the connection is secured. This is a design choice for security. Ways to handle this (from worse to better):

  1. disable the secure connection check in the authentication plug-in. This is a very bad idea, but it would work.
  2. upgrade your Java apps to use modern (and secure) TLS.
  3. Enable relaying for just those Java 8 apps by their IP address with the relay plugin. Then they don't need to AUTH.

Hi,

I've done step 3 in the past and it's still active (but maybe something changed with v3?) and it doesn't work. Could it be that relay.ini has acl=true set? Otherwise I got the IP in relay_acl_allow set.

Thank you for the swift response :)

from haraka.

msimerson avatar msimerson commented on September 27, 2024

You definitely need acl=true to enable the ACL processing, and you need the relay plug-in enabled in config/plugins. You should be getting relay messages in your log entries that provide clues.

from haraka.

thenitai avatar thenitai commented on September 27, 2024

Yes, I've figured :)

It always fails at SSL with "...SSL routines:tls_early_post_process...".

I will install sendmail on those Java machines and relay them to Haraka. It's easier to do than to figure out what is going on and fiddle with those "damn" Java settings :)

from haraka.

msimerson avatar msimerson commented on September 27, 2024

Oh, you need to add the IPs of the clients to the no_tls_hosts (double check in tls docs) so Haraka doesn't offer them STARTTLS.

from haraka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.