Code Monkey home page Code Monkey logo

Comments (6)

OKI2020 avatar OKI2020 commented on May 20, 2024 1

issue solved ; switched to another smtp server.

tx !

from docker-fail2ban.

crazy-max avatar crazy-max commented on May 20, 2024

@OKI2020 Check your syntax. - SSMTP_PORT:587 > - "SSMTP_PORT=587"

from docker-fail2ban.

OKI2020 avatar OKI2020 commented on May 20, 2024

changed syntax but still same error

from docker-fail2ban.

crazy-max avatar crazy-max commented on May 20, 2024

@OKI2020 What do you have with this compose?:

version: "3.5"

services:
  fail2ban:
    image: crazymax/fail2ban:latest
    container_name: fail2ban
    network_mode: "host"
    cap_add:
      - NET_ADMIN
      - NET_RAW
    volumes:
      - "./data:/data"
      - "/var/log:/var/log:ro"
    environment: 
      - "TZ=Europe/Paris"
      - "F2B_DB_PURGE_AGE=30d"
      - "F2B_LOG_TARGET=/data/fail2ban.log"
      - "F2B_LOG_LEVEL=INFO"
      - "F2B_IPTABLES_CHAIN=INPUT"
      - "[email protected]"
      - "[email protected]"
      - "SSMTP_HOST=xxxx"
      - "SSMTP_PORT=587"
      - "SSMTP_HOSTNAME=xxxx"
      - "SSMTP_USER=xxxx"
      - "SSMTP_PASSWORD=xxxx"
      - "SSMTP_TLS=YES"
      - "SSMTP_STARTTLS=YES"
    restart: always

from docker-fail2ban.

OKI2020 avatar OKI2020 commented on May 20, 2024

2020-06-17 19:30:07,387 fail2ban.utils [1]: ERROR 7fef493a8870 -- stderr: 'SSL_connect: No error information'
2020-06-17 19:30:07,387 fail2ban.utils [1]: ERROR 7fef493a8870 -- stderr: 'sendmail: Cannot open smtp.xxxx.xxx:587'
2020-06-17 19:30:07,387 fail2ban.utils [1]: ERROR 7fef493a8870 -- returned 1

from docker-fail2ban.

crazy-max avatar crazy-max commented on May 20, 2024

Looks like smtp.xxxx.xxx:587 is not reachable. Try telnet smtp.xxxx.xxx 587

from docker-fail2ban.

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.